summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texgetimage.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2015-07-21 18:35:38 -0600
committerBrian Paul <brianp@vmware.com>2015-07-21 18:35:38 -0600
commit2a95fd153158e20e6b44548d4f247a5763713fb3 (patch)
treebd6f4cb49590052003b7650ccb24a5eb109c1a2f /src/mesa/main/texgetimage.h
parent5bfc360e40680b3fe2b6f74ac487fa76502559e3 (diff)
downloadexternal_mesa3d-2a95fd153158e20e6b44548d4f247a5763713fb3.zip
external_mesa3d-2a95fd153158e20e6b44548d4f247a5763713fb3.tar.gz
external_mesa3d-2a95fd153158e20e6b44548d4f247a5763713fb3.tar.bz2
mesa: replace Driver.GetCompressedTexImage() w/ GetCompressedTexSubImage()
For now, pass offsets of zero and width/height/depth equal to the whole image. Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'src/mesa/main/texgetimage.h')
-rw-r--r--src/mesa/main/texgetimage.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mesa/main/texgetimage.h b/src/mesa/main/texgetimage.h
index 5124851..040495a 100644
--- a/src/mesa/main/texgetimage.h
+++ b/src/mesa/main/texgetimage.h
@@ -44,9 +44,12 @@ _mesa_GetTexSubImage_sw(struct gl_context *ctx,
struct gl_texture_image *texImage);
extern void
-_mesa_GetCompressedTexImage_sw(struct gl_context *ctx,
- struct gl_texture_image *texImage,
- GLvoid *data);
+_mesa_GetCompressedTexSubImage_sw(struct gl_context *ctx,
+ struct gl_texture_image *texImage,
+ GLint xoffset, GLint yoffset,
+ GLint zoffset, GLsizei width,
+ GLint height, GLint depth,
+ GLvoid *data);
extern void
_mesa_get_compressed_texture_image( struct gl_context *ctx,