OSDN Git Service

mesa: Convert depth/stencil glGetTexImage() to using MapTextureImage().
authorBrian Paul <brianp@vmware.com>
Mon, 1 Aug 2011 03:48:24 +0000 (20:48 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 27 Sep 2011 19:12:07 +0000 (12:12 -0700)
commit59348722b7a2a9ec689af0613fa8435f78a90cc4
tree54dfa2756a4dc12304fd571853000f3254824c20
parent0c513a9c1b5125ba647c17f330635ded46d4d174
mesa: Convert depth/stencil glGetTexImage() to using MapTextureImage().

Note that the implementation before and after appears to be broken in
its handling of Z24_S8 vs S8_Z24.

Tested-by: Brian Paul <brianp@vmware.com>
src/mesa/main/texgetimage.c
src/mesa/state_tracker/st_cb_texture.c