Function
CoglOnscreenDirtyCallback
Declaration
void
(* CoglOnscreenDirtyCallback) (
CoglOnscreen* onscreen,
const CoglOnscreenDirtyInfo* info,
void* user_data
)
Description [src]
Is a callback that can be registered via
cogl_onscreen_add_dirty_callback() to be called when the windowing
system determines that a region of the onscreen window has been
lost and the application should redraw it.
| Stability: | Unstable |
| Available since: | 1.16 |
Parameters
onscreen |
CoglOnscreen |
The onscreen that the frame is associated with. |
|
| The data is owned by the caller of the function. | |
info |
CoglOnscreenDirtyInfo |
A |
|
| The data is owned by the caller of the function. | |
user_data |
void* |
The user pointer passed to
|
|
The argument can be NULL. | |
| The data is owned by the caller of the function. |