History log of /external/mesa3d/src/mesa/state_tracker/st_cb_copyimage.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d816a51b81f42b0aa4819a32587b4aa167e4b541 08-Jul-2016 Ilia Mirkin <imirkin@alum.mit.edu> st/mesa: provide GL_OES_copy_image support by caching the original ETC data

The additional provision of GL_OES_copy_image is that it work for ETC.
However many desktop GPUs don't have native ETC support, so st/mesa does
the decoding by hand. Instead of discarding the compressed data, keep it
around in CPU memory. Use it when performing image copies.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Acked-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_copyimage.c
a571859fc446a9ba106ba4586603b5a01e7cc52a 09-Jun-2016 Nicolai Hähnle <nicolai.haehnle@amd.com> st/mesa: invalidate readpixels cache

Whenever a draw happens or some other function call might change the result
of future glReadPixels calls, we must invalidate the cache.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_copyimage.c
f9ddd52317caf14a21ec7c040fd4bb944f9842e4 10-Jun-2016 Nicolai Hähnle <nicolai.haehnle@amd.com> st/mesa: flush bitmap cache before CopyImageSubData

Found by inspection.

Cc: 11.2 12.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_copyimage.c
4ac555e9e53f47b1fdeb5a3c3a13f7d3dccb91df 13-May-2016 Nicolai Hähnle <nicolai.haehnle@amd.com> st/mesa: fix reversed copyimage canonical format

The format_desc swizzle describes where in the array each color channel
comes from - but the existing code was written as if each entry in the
swizzle described the meaning of an array element.

Fixes piglit's arb_copy_image-format-swizzle.

Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_copyimage.c
fb523cb6ad3ffef22ab4b9cce9e53859c17c5739 16-Apr-2016 Marek Olšák <marek.olsak@amd.com> gallium: merge PIPE_SWIZZLE_* and UTIL_FORMAT_SWIZZLE_*

Use PIPE_SWIZZLE_* everywhere.
Use X/Y/Z/W/0/1 instead of RED, GREEN, BLUE, ALPHA, ZERO, ONE.
The new enum is called pipe_swizzle.

Acked-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_copyimage.c
e587590a83588133d7a9044e3935585f675bbb30 05-Nov-2015 Ilia Mirkin <imirkin@alum.mit.edu> st/mesa: account for texture views when doing CopyImageSubData

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_copyimage.c
6166a8e369b86395ffec7229257f797662f9d1aa 28-Oct-2015 Ilia Mirkin <imirkin@alum.mit.edu> st/mesa: create temporary textures with the same nr_samples as source

Not sure if this is actually reachable in practice (to have a complex
copy with MS textures).

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_copyimage.c
f04f13622f3e71bee057d60a6be9c53b92b56cc9 24-Aug-2015 Marek Olšák <marek.olsak@amd.com> st/mesa: implement ARB_copy_image

I wonder if the craziness was worth it.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_copyimage.c