diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-09-02 18:30:11 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-09-02 18:31:48 +0100 |
commit | e79054cc4090a2be346236236c9e18ae85cad43d (patch) | |
tree | e0084f34d3b732226f82816f2ab84789098cb6c1 /src/mesa/main/buffers.h | |
parent | de343680a3e6b2a588f8b3c844828b8d9e6cb6a5 (diff) |
st/mesa: Do GL_RGBA->GL_RGB texsubimage on hardware
State tracker currently backs GL_RGB textures with RGBA almost always.
This means we need to maintain A==1 in these textures to give correct GL_RGB
sampling results.
This change offloads the RGBA->RGB copy to hardware using the new writemask
version of u_blit_pixels.
More src/dstLogical/dstActual triples could be shifted to hardware by
this technique in future patches.
Diffstat (limited to 'src/mesa/main/buffers.h')
0 files changed, 0 insertions, 0 deletions