summaryrefslogtreecommitdiff
path: root/cogl/cogl-context.c
diff options
context:
space:
mode:
authorRobert Bragg <robert@linux.intel.com>2011-11-21 20:48:23 +0000
committerRobert Bragg <robert@linux.intel.com>2011-12-06 18:51:57 +0000
commit2112af0bc51c5173a4b8fe2c6ea6bdca9274c5b3 (patch)
tree5c058fa6d0c4438892a5447597049c73f137f386 /cogl/cogl-context.c
parentcf4b228fc0cc00041ce0b73ff21522eb03f961c5 (diff)
downloadcogl-2112af0bc51c5173a4b8fe2c6ea6bdca9274c5b3.tar.gz
framebuffer: deal with winding state like other state
We should not be deciding whether we need to really update the GL face winding state at the point where a new framebuffer has been pushed, we should be waiting until we have really been asked to flush some framebuffer state otherwise we may do redundant work if multiple framebuffers are pushed/popped before something is really drawn. This integrates the face winding state tracking with the design we have for handling most of the other framebuffer state so we benefit from the optimizations for minimizing the cost of _cogl_framebuffer_flush_state() Reviewed-by: Neil Roberts <neil@linux.intel.com>
Diffstat (limited to 'cogl/cogl-context.c')
0 files changed, 0 insertions, 0 deletions