1
0
Fork 0
mutter-performance-source/cogl/driver/gles
Neil Roberts ae5f8323c1 gles2: Support the GL_EXT_unpack_subimage extension
This extension lets you upload texture data from a subregion of a
buffer by passing GL_UNPACK_ROW_LENGTH, GL_UNPACK_SKIP_PIXELS and
GL_UNPACK_SKIP_ROWS to glPixelStore. When this extension is available
the GLES texture driver will now avoid making a copy of the bitmap
when a subregion is used.

Note that Mesa doesn't currently advertise this extension but I've
made a patch to propose it:

http://lists.freedesktop.org/archives/mesa-dev/2012-March/020191.html
2012-03-23 13:51:08 +00:00
..
cogl-gles.c gles2: Support the GL_EXT_unpack_subimage extension 2012-03-23 13:51:08 +00:00
cogl-texture-driver-gles.c gles2: Support the GL_EXT_unpack_subimage extension 2012-03-23 13:51:08 +00:00