Robert Bragg 3f780e2f3f get_texture_bits_via_offscreen(): use meta texture format
When reading a texture back by first wrapping it as an offscreen
framebuffer and using _read_pixels_into_bitmap() we now make sure the
offscreen framebuffer has an internal format that matches the
meta-texture being read not that of the current sub-texture being
iterated. In the case of atlas textures the subtexture is a shared
texture whose format doesn't reflect the premultipled alpha status of
individual atlas-textures, nor whether the alpha component is valid.

Reviewed-by: Neil Roberts <neil@linux.intel.com>
(cherry picked from commit 6ee425d4f10acd8b008a2c17e5c701fc1d850f59)
2014-01-09 15:49:46 +00:00
..
2013-09-23 15:02:31 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:48:17 +00:00
2013-08-20 19:18:40 -04:00
2013-09-23 15:02:31 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:01 +00:00
2013-01-22 17:48:17 +00:00
2013-09-23 15:02:31 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:13 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-09-23 15:02:30 +01:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-12-11 18:49:19 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:05 +00:00
2012-08-14 18:55:42 +01:00
2013-01-22 17:48:17 +00:00
2013-08-30 12:04:36 +01:00