summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r--src/mesa/main/dd.h24
1 files changed, 20 insertions, 4 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index 23ec4587aaf..2b1131bc414 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -157,10 +157,9 @@ struct dd_function_table {
* This function must respect all rasterization state, glPixelTransfer(),
* glPixelZoom(), etc.
*/
- void (*CopyPixels)( GLcontext *ctx,
- GLint srcx, GLint srcy,
- GLsizei width, GLsizei height,
- GLint dstx, GLint dsty, GLenum type );
+ void (*CopyPixels)( GLcontext *ctx, GLint srcx, GLint srcy,
+ GLsizei width, GLsizei height,
+ GLint dstx, GLint dsty, GLenum type );
/**
* This is called by glBitmap().
@@ -298,6 +297,14 @@ struct dd_function_table {
struct gl_texture_image *texImage );
/**
+ * Called by glGetTexImage().
+ */
+ void (*GetTexImage)( GLcontext *ctx, GLenum target, GLint level,
+ GLenum format, GLenum type, GLvoid *pixels,
+ const struct gl_texture_object *texObj,
+ const struct gl_texture_image *texImage );
+
+ /**
* Called by glCopyTexImage1D().
*
* Drivers should use a fallback routine from texstore.c if needed.
@@ -454,6 +461,15 @@ struct dd_function_table {
struct gl_texture_object *texObj,
struct gl_texture_image *texImage);
+
+ /**
+ * Called by glGetCompressedTexImage.
+ */
+ void (*GetCompressedTexImage)(GLcontext *ctx, GLenum target, GLint level,
+ GLvoid *img,
+ const struct gl_texture_object *texObj,
+ const struct gl_texture_image *texImage);
+
/**
* Called to query number of bytes of storage needed to store the
* specified compressed texture.