[cogl] Adds a bitfield argument to cogl_clear for specifying which buffers to clear
authorRobert Bragg <robert@linux.intel.com>
Fri, 24 Apr 2009 17:09:52 +0000 (18:09 +0100)
committerRobert Bragg <robert@linux.intel.com>
Sat, 2 May 2009 03:12:12 +0000 (04:12 +0100)
commit741c4bb5e92c5f7f86188a89b9697b842783d714
tree3e181733acde6749aac6b82c0538b65cf4620cac
parent20cd885c3d6b8fce611c156a491ca93ea7ba13c6
[cogl] Adds a bitfield argument to cogl_clear for specifying which buffers to clear

Redundant clearing of depth and stencil buffers every render can be very
expensive, so cogl now gives control over which auxiliary buffers are
cleared.

Note: For now clutter continues to clear the color, depth and stencil buffer
each paint.
README
clutter/clutter-main.c
clutter/clutter-stage.c
clutter/clutter-texture.c
clutter/cogl/cogl.h.in
clutter/cogl/common/cogl.c