mutter/clutter/cogl/gl
Havoc Pennington e47b198225 add cogl_push_draw_buffer() and cogl_pop_draw_buffer()
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>
2009-05-02 04:12:26 +01:00
..
cogl-context.c add cogl_push_draw_buffer() and cogl_pop_draw_buffer() 2009-05-02 04:12:26 +01:00
cogl-context.h add cogl_push_draw_buffer() and cogl_pop_draw_buffer() 2009-05-02 04:12:26 +01:00
cogl-defines.h.in [cogl] Updates all file headers and removes lots of trailing white space 2009-05-02 04:12:25 +01:00
cogl-fbo.c add cogl_push_draw_buffer() and cogl_pop_draw_buffer() 2009-05-02 04:12:26 +01:00
cogl-fbo.h [cogl] Updates all file headers and removes lots of trailing white space 2009-05-02 04:12:25 +01:00
cogl-internal.h [cogl] Updates all file headers and removes lots of trailing white space 2009-05-02 04:12:25 +01:00
cogl-primitives.c [cogl] Updates all file headers and removes lots of trailing white space 2009-05-02 04:12:25 +01:00
cogl-program.c [cogl] Updates all file headers and removes lots of trailing white space 2009-05-02 04:12:25 +01:00
cogl-program.h [cogl] Updates all file headers and removes lots of trailing white space 2009-05-02 04:12:25 +01:00
cogl-shader-private.h [cogl] Updates all file headers and removes lots of trailing white space 2009-05-02 04:12:25 +01:00
cogl-shader.c [cogl] Updates all file headers and removes lots of trailing white space 2009-05-02 04:12:25 +01:00
cogl-texture-private.h [cogl] Only expose CoglBitmap as a CoglHandle 2009-05-02 04:12:26 +01:00
cogl-texture.c [cogl] Only expose CoglBitmap as a CoglHandle 2009-05-02 04:12:26 +01:00
cogl.c [cogl] Updates all file headers and removes lots of trailing white space 2009-05-02 04:12:25 +01:00
Makefile.am [cogl] Only expose CoglBitmap as a CoglHandle 2009-05-02 04:12:26 +01:00