mesa/src
Brian Paul d11fefa961 st/mesa: optimize 4-component ubyte glDrawPixels
If we didn't find a gallium surface format that exactly matched the
glDrawPixels format/type combination, we used some other 32-bit packed
RGBA format and swizzled the whole image in the mesa texstore/format code.

That slow path can be avoided in some common cases by using the
pipe_samper_view's swizzle terms to do the swizzling at texture sampling
time instead.

For now, only GL_RGBA/ubyte and GL_BGRA/ubyte combinations are supported.
In the future other formats and types like GL_UNSIGNED_INT_8_8_8_8 could
be added.

v2: fix incorrect swizzle setup (need to invert the tex format's swizzle)

Reviewed by: Jose Fonseca <jfonseca@vmware.com>
2015-10-20 12:52:40 -06:00
..
egl egl/dri2: Properly dereference array. 2015-10-07 11:48:49 -07:00
gallium gallium: add PIPE_SHADER_CAP_MAX_UNROLL_ITERATIONS_HINT 2015-10-20 18:27:11 +02:00
gbm gbm: convert gbm bo format to fourcc format on dma-buf import 2015-09-15 12:27:45 +01:00
getopt
glsl mesa: replace UsesClipDistance with ClipDistanceArraySize 2015-10-20 12:58:25 +02:00
glx glx: Drop CRAY support. 2015-10-05 14:34:16 -07:00
gtest mesa: Enable subdir-objects globally. 2015-06-26 12:55:25 +01:00
hgl glapi/hgl: Drop extern "C" as it was added to glapi 2015-05-13 15:26:29 -04:00
loader loader: use HAVE_LIBDRM instead of ! __NOT_HAVE_DRM_H 2015-07-22 16:35:25 +01:00
mapi glapi: add function pointers for KHR_debug for gles 2015-10-07 15:07:01 +01:00
mesa st/mesa: optimize 4-component ubyte glDrawPixels 2015-10-20 12:52:40 -06:00
util glsl: move half<->float convertion to util 2015-10-16 19:33:37 -04:00
Makefile.am glsl: move shader_enums into nir 2015-10-09 15:03:28 -04:00
SConscript scons: rework the EGL build 2015-07-22 16:35:27 +01:00