mesa: Add driver hooks for texture image mapping/unmapping.
authorBrian Paul <brianp@vmware.com>
Fri, 15 Jul 2011 02:57:34 +0000 (20:57 -0600)
committerEric Anholt <eric@anholt.net>
Mon, 29 Aug 2011 17:10:03 +0000 (10:10 -0700)
commit570016cef27b8b2078d1495fcbce86e3c86c0ee4
tree8cddc75fa2e860ce9c7d88192d028808fadf162b
parent68f8cf72638e974a5bf2ae3e88c2e3539d88e2b6
mesa: Add driver hooks for texture image mapping/unmapping.

ctx->Driver.MapTextureImage() / UnmapTextureImage() will be called by
the glTex[Sub]Image(), glGetTexImage() functions, etc. when we're
accessing texture data, and also for software rendering when accessing
texture data.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/dd.h