Re: [Mesa-dev] [PATCH] st/mesa: optimize 4-component ubyte glDrawPixels

2015-10-19 Thread Jose Fonseca
On 17/10/15 03:56, Brian Paul wrote: 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

[Mesa-dev] [PATCH] st/mesa: optimize 4-component ubyte glDrawPixels

2015-10-16 Thread Brian Paul
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 s