summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dd.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/dd.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/dd.h')
-rw-r--r--src/mesa/main/dd.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index 12e54de..ae01770 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -335,9 +335,12 @@ struct dd_function_table {
/**
* Called by glGetCompressedTexImage.
*/
- void (*GetCompressedTexImage)(struct gl_context *ctx,
- struct gl_texture_image *texImage,
- GLvoid *data);
+ void (*GetCompressedTexSubImage)(struct gl_context *ctx,
+ struct gl_texture_image *texImage,
+ GLint xoffset, GLint yoffset,
+ GLint zoffset, GLsizei width,
+ GLsizei height, GLsizei depth,
+ GLvoid *data);
/*@}*/
/**