Refactor PBO validate/map code.
authorBrian <brian.paul@tungstengraphics.com>
Fri, 21 Mar 2008 20:20:07 +0000 (14:20 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 21 Mar 2008 20:20:07 +0000 (14:20 -0600)
commita39091bc5b68e4d4f5302f1d3f1a138798f54b77
tree8b83b941634753a0b41d27716ae27bd961ad4343
parentf1626f0bfd2b14ad8ca2afaad2ea8afb539e6491
Refactor PBO validate/map code.

We always need to do PBO validation, so do that in core Mesa before calling driv
er routine.
cherry-picked from Mesa/master.
src/mesa/main/bufferobj.c
src/mesa/main/bufferobj.h
src/mesa/main/drawpix.c
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_cb_readpixels.c
src/mesa/swrast/s_bitmap.c
src/mesa/swrast/s_drawpix.c
src/mesa/swrast/s_readpix.c