diff options
author | Brian Paul <[email protected]> | 2011-09-08 20:16:18 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-09-08 20:16:18 -0600 |
commit | e3dc78e57a7effbd30dc9539b3ea05ad85ac34e5 (patch) | |
tree | c06dd202bf2f6231da1ebd6bd9b2957b3f718cff /src/mesa/drivers/common/meta.h | |
parent | 8e9485870bfac93d5c26a094390a37aad2e264eb (diff) |
meta: added _mesa_meta_GetTexImage()
If the texture is compressed, call the meta decompress_texture_image()
function. Otherwise, call the core _mesa_get_teximage() function.
Diffstat (limited to 'src/mesa/drivers/common/meta.h')
-rw-r--r-- | src/mesa/drivers/common/meta.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/drivers/common/meta.h b/src/mesa/drivers/common/meta.h index 9a92613c44c..9d634ae561f 100644 --- a/src/mesa/drivers/common/meta.h +++ b/src/mesa/drivers/common/meta.h @@ -121,4 +121,11 @@ _mesa_meta_CopyTexSubImage3D(struct gl_context *ctx, GLenum target, GLint level, GLint x, GLint y, GLsizei width, GLsizei height); +extern void +_mesa_meta_GetTexImage(struct gl_context *ctx, GLenum target, GLint level, + GLenum format, GLenum type, GLvoid *pixels, + struct gl_texture_object *texObj, + struct gl_texture_image *texImage); + + #endif /* META_H */ |