add a number of PBO validate/map/unmap functions
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 21 Mar 2008 19:43:07 +0000 (13:43 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 21 Mar 2008 19:43:07 +0000 (13:43 -0600)
commitff938bf059a41a9bdf4c2c93cebe4a3b8a89c201
tree217262bef9a78fafab75ac3f7953b607ce87c4c8
parentc80a380ebb58c15db87309d466ef57fb006b40ae
add a number of PBO validate/map/unmap functions

Helper functions for (some) drivers, including swrast.
cherry-picked from Mesa/master
src/mesa/main/bufferobj.c
src/mesa/main/bufferobj.h
src/mesa/swrast/s_bitmap.c
src/mesa/swrast/s_drawpix.c
src/mesa/swrast/s_readpix.c