Refactor PBO validate/map code.
authorBrian <brian.paul@tungstengraphics.com>
Fri, 21 Mar 2008 20:19:28 +0000 (14:19 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 21 Mar 2008 20:19:28 +0000 (14:19 -0600)
commitd933be6baf98624c609d422a9b083a08f67e8bdb
treed262e8c7962f6105f44bb6f6b5cb4e05f412bd9e
parent3c9862d337244e305dc39bdd0a48e254c9766ec8
Refactor PBO validate/map code.

We always need to do PBO validation, so do that in core Mesa before calling driver routine.
src/mesa/main/bufferobj.c
src/mesa/main/bufferobj.h
src/mesa/main/drawpix.c
src/mesa/swrast/s_bitmap.c
src/mesa/swrast/s_drawpix.c
src/mesa/swrast/s_readpix.c