Skip to content
Commit 427b1038 authored by Adel Gadllah's avatar Adel Gadllah Committed by Robert Bragg
Browse files

cogl-onscreen: Add buffer_age support

Add a new BUFFER_AGE winsys feature and a get_buffer_age method to
cogl-onscreen that allows to query the value.

https://bugzilla.gnome.org/show_bug.cgi?id=669122



Reviewed-by: default avatarNeil Roberts <neil@linux.intel.com>
Reviewed-by: default avatarRobert Bragg <robert@linux.intel.com>

Note: When landing the patch I made some gtk-doc updates and changed
_get_buffer_age to return an age of 0 always if the age feature isn't
support instead of using _COGL_RETURN_VAL_IF_FAIL. -- Robert Bragg
parent 6ccf9b5d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment