mutter/clutter/cogl
Neil Roberts 80bae51c01 cogl-atlas-texture: Make copying a texture out more robust
Previously when _cogl_atlas_texture_migrate_out_of_atlas is called it
would unreference the atlas texture's sub-texture before calling
_cogl_atlas_copy_rectangle. This would leave the atlas texture in an
inconsistent state during the copy. This doesn't normally matter but
if the copy ends up doing a render then the atlas texture may end up
being referenced. In particular it would cause problems if the texture
is left in a texture unit because then Cogl may try to call
get_gl_texture even though the texture isn't actually being used for
rendering. To fix this the sub texture is now unrefed after the copy
call instead.
2011-02-15 12:10:54 +00:00
..
cogl cogl-atlas-texture: Make copying a texture out more robust 2011-02-15 12:10:54 +00:00
doc
pango Allow multiple CoglAtlases for textures 2010-12-13 18:59:41 +00:00
Makefile.am