mirror of
https://github.com/brl/mutter.git
synced 2024-12-29 06:12:14 +00: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-fruity.c | ||
clutter-backend-fruity.h | ||
clutter-fruity.c | ||
clutter-fruity.h | ||
clutter-stage-fruity.c | ||
clutter-stage-fruity.h |