Virtual Method

CoglOnscreenqueue_damage_region

Declaration [src]

void
queue_damage_region (
  CoglOnscreen* onscreen,
  const int* rectangles,
  int n_rectangles
)

Description [src]

Implementation for https://www.khronos.org/registry/EGL/extensions/KHR/EGL_KHR_partial_update.txt This immediately queues state to OpenGL that will be used for the next swap. This needs to be called every frame.

Parameters

rectangles const int*
 

An array of integer 4-tuples representing damaged rectangles as (x, y, width, height) tuples.

 The data is owned by the caller of the function.
n_rectangles int
 

The number of 4-tuples to be read from rectangles.