mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
142b229c5c
This adds a stop-gap mechanism for Cogl to know when the window system is requested to present the current backbuffer to the frontbuffer by adding a _cogl_swap_buffers_notify function that backends are now expected to call right after issuing the equivalent request to OpenGL vie the platforms OpenGL binding layer. This (blindly) updates all the backends to call this new function. For now Cogl doesn't do anything with the notification but the intention is to use it as part of a planned read-pixel optimization which will need to reset some state at the start of each new frame. |
||
---|---|---|
.. | ||
clutter-backend-osx.c | ||
clutter-backend-osx.h | ||
clutter-event-osx.c | ||
clutter-osx.h | ||
clutter-stage-osx.c | ||
clutter-stage-osx.h |