Robert Bragg 439f8c62b0 cogl: deprecate cogl_draw_buffer API and replace with a cogl_framebuffer API
cogl_push_draw_buffer, cogl_set_draw_buffer and cogl_pop_draw_buffer are now
deprecated and new code should use the new cogl_framebuffer_* API instead.

Code that previously did:
    cogl_push_draw_buffer ();
    cogl_set_draw_buffer (COGL_OFFSCREEN_BUFFER, buffer);
    /* draw */
    cogl_pop_draw_buffer ();
should now be re-written as:
    cogl_push_framebuffer (buffer);
    /* draw */
    cogl_pop_framebuffer ();

As can be seen from the example above the rename has been used as an
opportunity to remove the redundant target argument from
cogl_set_draw_buffer; it now only takes one call to redirect to an offscreen
buffer, and finally the term framebuffer may be a bit more familiar to
anyone coming from an OpenGL background.
2009-11-26 19:33:14 +00:00
..
2009-11-06 11:48:42 +00:00
2009-11-13 17:23:13 +00:00
2009-01-20 18:47:50 +00:00
2009-10-14 11:31:26 +01:00
2009-10-14 11:31:26 +01:00
2009-07-10 11:38:42 +01:00
2009-07-10 11:38:42 +01:00
2009-11-13 15:01:17 +00:00
2009-10-19 12:01:38 +01:00
2009-10-14 11:31:26 +01:00
2009-10-16 15:55:05 +01:00
2009-10-19 11:45:15 +01:00