gallium: create drawing surfaces as GPU_READ/WRITE only
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 6 May 2008 19:47:41 +0000 (13:47 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 6 May 2008 19:48:27 +0000 (13:48 -0600)
commit296378b6c8b205048244746e260739448c4ee590
tree3c3e53ef0e9f47495ce6281633e1ed1324d31859
parent973d0c014dba87308e358291de0730d38d50a733
gallium: create drawing surfaces as GPU_READ/WRITE only

Create different temporary surfaces for CPU_READ/WRITE when needed (such as
for glReadPixels, glAccum, some glCopy/DrawPixels, glCopyTexSubImage, etc).
src/mesa/state_tracker/st_cb_accum.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_cb_fbo.c
src/mesa/state_tracker/st_cb_fbo.h
src/mesa/state_tracker/st_cb_readpixels.c
src/mesa/state_tracker/st_cb_texture.c