summaryrefslogtreecommitdiff
path: root/cogl/cogl-atlas-texture.c
diff options
context:
space:
mode:
authorNeil Roberts <neil@linux.intel.com>2010-08-12 09:11:28 +0100
committerNeil Roberts <neil@linux.intel.com>2010-08-12 11:36:18 +0100
commitbb17fd70e25f9f1b42ce3ca17592c9670d441236 (patch)
tree28a10edfd977310cca302df0bfc689abe4e6bd40 /cogl/cogl-atlas-texture.c
parentb7807d99957e568422743a6b7355c9bf52afc950 (diff)
downloadcogl-bb17fd70e25f9f1b42ce3ca17592c9670d441236.tar.gz
cogl-material: Compare whether textures are equal by their GL handle
Textures within a layer were compared for equality by comparing their texture handle. However this means that sub textures and atlas textures which may be internally using the same GL handle would not be batched together. Instead it now tries to determine the underlying GL handle using either the slice override or _cogl_texture_get_gl_texture and then compares those.
Diffstat (limited to 'cogl/cogl-atlas-texture.c')
0 files changed, 0 insertions, 0 deletions