summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-10-15 11:54:06 -0600
committerBrian Paul <[email protected]>2015-10-20 12:52:40 -0600
commitd11fefa96165836ffeed531a74319a64aa98a696 (patch)
tree8d5df86bf97d91a5d142e0844954b6b535f2cbe1 /.gitattributes
parentcf405922eb2bd4d1dfae896caa9d58980875e7ec (diff)
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 <[email protected]>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions