1
0
Fork 0
mutter-performance-source/cogl/driver/gl
Robert Bragg 6f79eb8a5a Use MESA_pack_invert to avoid read_pixels flip
cogl_read_pixels returns image data in a top-down memory order, but
because OpenGL normally returns pixel data in a bottom-up order we
have to flip the data before returning it to the user. If the OpenGL
driver supports the GL_MESA_pack_invert extension though we can ask the
driver to return the data in a top-down order in the first place.

Signed-off-by: Neil Roberts <neil@linux.intel.com>
2011-07-13 19:06:19 +01:00
..
cogl-gl.c Use MESA_pack_invert to avoid read_pixels flip 2011-07-13 19:06:19 +01:00
cogl-texture-driver-gl.c Move the cogl texture driver functions to a vtable 2011-07-08 15:35:51 +01:00