mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
Read-only mirror of https://gitlab.gnome.org/GNOME/mutter
a4e50b5ea5
This moves the implementation of cogl_clear into cogl-framebuffer.c as two new internal functions _cogl_framebuffer_clear and _cogl_framebuffer_clear4f. It's not clear if this is what the API will look like as we make more of the CoglFramebuffer API public due to the limitations of using flags to identify buffers when framebuffers may contain any number of ancillary buffers but conceptually it makes some sense to tie the operation of clearing a color buffer to a framebuffer. The short term intention is to enable tracking the current clear color as a property of the framebuffer as part of an optimization for reading back single pixels when the geometry is simple enough that we can compute the result quickly on the CPU. (If the point doesn't intersect any geometry we'll need to return the last clear color.) |
||
---|---|---|
cogl | ||
doc | ||
pango | ||
Makefile.am |