1
0
Fork 0
mutter-performance-source/clutter/cogl
Robert Bragg 4976d22940 matrix-stack: Adds a stack age counter
Sometimes it would be useful if we could efficiently track when a matrix
stack has been modified. For example on GLES2 we have to upload the
modelview as a uniform to our glsl programs but because the modelview
state is part of the framebuffer state it becomes a bit more tricky to
know when to re-sync the value of the uniform with the framebuffer
state. This adds an "age" counter to CoglMatrixStack which is
incremented for any operation that effectively modifies the top of the
stack so now we can save the age of the stack inside the pipeline
whenever we update modelview uniform and later compare that with the
stack to determine if it has changed.
2010-12-13 17:28:29 +00:00
..
cogl matrix-stack: Adds a stack age counter 2010-12-13 17:28:29 +00:00
doc cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
pango path 2.0: update path API for experimental 2.0 API 2010-11-11 13:17:26 +00:00
Makefile.am [cogl] move clutter/pango to clutter/cogl/pango 2009-10-16 18:58:51 +01:00