mirror of
https://github.com/brl/mutter.git
synced 2025-03-06 13:18:15 +00:00

These are necessary if nesting redirections to an fbo, otherwise there's no way to know how to restore previous state. glPushAttrib(GL_COLOR_BUFFER_BIT) would save draw buffer state, but also saves a lot of other stuff, and cogl_draw_buffer() relies on knowing about all draw buffer state changes. So we have to implement a draw buffer stack ourselves. Signed-off-by: Robert Bragg <robert@linux.intel.com>
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%