mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 12:02:04 +00:00
6f79eb8a5a
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> |
||
---|---|---|
.. | ||
cogl-gl.c | ||
cogl-texture-driver-gl.c |