Alternate CopyPixels path based on get/put_tile().
authorBrian <brian.paul@tungstengraphics.com>
Thu, 18 Oct 2007 21:18:55 +0000 (15:18 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 18 Oct 2007 21:18:55 +0000 (15:18 -0600)
commit0007cd7ba0a61fcbcf9c9d19e014408be25ae496
tree37199fc1c03f0c29cadc7072276113f5101d939d
parent5d39f4f9fdba4cd3333a39af583a73b85eb6bb74
Alternate CopyPixels path based on get/put_tile().

For some drivers (like Xlib) it's not possible to treat the front/back color
buffers as pipe_regions.  So pipe->region_copy() won't work.  Added a new
state tracker field indicating if we can use regions for colorbuffer accesses.
This should probably be re-considered someday...
src/mesa/drivers/x11/xm_api.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_context.c
src/mesa/state_tracker/st_context.h