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
..
2011-02-09 16:34:21 +00:00
2011-01-31 13:43:12 +00:00
2010-11-18 18:23:49 +00:00
2010-12-02 09:53:00 +00:00
2010-11-06 20:11:16 +00:00
2010-11-18 18:23:49 +00:00
2010-11-18 18:23:49 +00:00
2010-11-18 18:23:49 +00:00
2010-12-09 13:59:08 +00:00
2011-02-03 10:58:38 +00:00