Function
CoglOnscreenDirtyCallback
since: 13
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.
Available since: 13
Parameters
onscreen-
Type:
CoglOnscreenThe onscreen that the frame is associated with.
The data is owned by the caller of the function. info-
Type:
CoglOnscreenDirtyInfoA
CoglOnscreenDirtyInfostruct containing the details of the dirty area.The data is owned by the caller of the function. user_data-
Type:
void*The user pointer passed to
cogl_onscreen_add_frame_callback()The argument can be NULL.The data is owned by the caller of the function.