summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common/meta.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-01-12 15:39:59 -0800
committerJason Ekstrand <[email protected]>2015-01-22 10:36:24 -0800
commit8546fe900ca4c6059614dae8a77b3a97fafeb629 (patch)
treeaf14d51a9567f7b50021666ca5b529801c1d1fed /src/mesa/drivers/common/meta.h
parent7f396189f073d626c5f7a2c232dac92b65f5a23f (diff)
meta: Add an implementation of GetTexSubImage for PBOs
Reviewed-by: Neil Roberts <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common/meta.h')
-rw-r--r--src/mesa/drivers/common/meta.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/drivers/common/meta.h b/src/mesa/drivers/common/meta.h
index 87e9cc92946..20d30f7e6ab 100644
--- a/src/mesa/drivers/common/meta.h
+++ b/src/mesa/drivers/common/meta.h
@@ -531,6 +531,14 @@ _mesa_meta_pbo_TexSubImage(struct gl_context *ctx, GLuint dims,
bool allocate_storage, bool create_pbo,
const struct gl_pixelstore_attrib *packing);
+extern bool
+_mesa_meta_pbo_GetTexSubImage(struct gl_context *ctx, GLuint dims,
+ struct gl_texture_image *tex_image,
+ int xoffset, int yoffset, int zoffset,
+ int width, int height, int depth,
+ GLenum format, GLenum type, const void *pixels,
+ const struct gl_pixelstore_attrib *packing);
+
extern void
_mesa_meta_CopyTexSubImage(struct gl_context *ctx, GLuint dims,
struct gl_texture_image *texImage,