1
0
Fork 0
mutter-performance-source/clutter/cogl/common
Neil Roberts edbe9a0377 [cogl-material] Always bind the new texture handle
Cogl previously tried to cache the currently bound texture when
drawing through the material API to avoid excessive GL calls. However,
a few other places in Cogl and Clutter rebind the texture as well so
this can cause problems.

This was causing shaped windows to fail in Mutter because
ClutterGLXTexturePixmap was binding a different texture to update it
while the second texture unit was still active which meant the mask
texture would not be selected when the shaped window was drawn
subsequent times.

Ideally we would fix this by providing a wrapper around glBindTexture
which would affect the cached value. The cache would also have to be
cleared if a selected texture was deleted.
2009-02-02 14:53:23 +00:00
..
cogl-bitmap-fallback.c 2008-06-30 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-30 14:20:46 +00:00
cogl-bitmap-pixbuf.c Add API for extracting image size from a file 2009-01-12 16:52:20 +00:00
cogl-bitmap.c Add API for extracting image size from a file 2009-01-12 16:52:20 +00:00
cogl-bitmap.h Add API for extracting image size from a file 2009-01-12 16:52:20 +00:00
cogl-clip-stack.c [Automatic fixed-to-float.sh change] Applies all scripted changes 2009-01-20 16:20:54 +00:00
cogl-clip-stack.h Bug 1172 - Disjoint paths and clip to path 2008-12-04 13:45:09 +00:00
cogl-color.c Removes cogl_color_set_from_4d as it may mislead people. 2009-01-28 17:20:15 +00:00
cogl-fixed.c Improve accuracy of clutter_sinx() 2009-01-22 15:59:23 +00:00
cogl-handle.h Fallout from cogl-material merge 2009-01-27 16:02:04 +00:00
cogl-material-private.h Fully integrates CoglMaterial throughout the rest of Cogl 2009-01-27 14:26:39 +00:00
cogl-material.c [cogl-material] Always bind the new texture handle 2009-02-02 14:53:23 +00:00
cogl-matrix.c [docs] Documentation fixes 2009-01-27 16:53:01 +00:00
cogl-primitives.c Fix a variable masking warning 2009-01-29 13:31:51 +00:00
cogl-primitives.h Fix the Cogl primitives for the GLES backend 2009-01-24 00:26:51 +00:00
cogl-util.c Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
cogl-util.h Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
cogl-vertex-buffer-private.h Renames the mesh api to the "vertex buffer api". 2009-01-20 22:29:35 +00:00
cogl-vertex-buffer.c Fully integrates CoglMaterial throughout the rest of Cogl 2009-01-27 14:26:39 +00:00
Makefile.am Add cogl-material-private.h to the source files 2009-01-29 16:00:15 +00:00
stb_image.c Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00