diff options
author | Brian Paul <[email protected]> | 2011-09-17 14:50:48 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-09-17 14:57:40 -0600 |
commit | efc93219a9dfbd8e0bc42a1d0db372d2e7a7618c (patch) | |
tree | ce212bc3611bf48dafb38206260c7a1b287b2cfa /src/mesa/swrast/swrast.h | |
parent | d1da1c0ca816672c7a9243b754bb4b803ab0394a (diff) |
swrast: add Alloc/FreeTextureImageBuffer() driver functions
Not called yet. These will replace the core Mesa functions for allocating
and freeing malloc'd texture memory.
Diffstat (limited to 'src/mesa/swrast/swrast.h')
-rw-r--r-- | src/mesa/swrast/swrast.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/swrast/swrast.h b/src/mesa/swrast/swrast.h index d732c31ad14..390b422642b 100644 --- a/src/mesa/swrast/swrast.h +++ b/src/mesa/swrast/swrast.h @@ -189,6 +189,16 @@ extern void _swrast_delete_texture_image(struct gl_context *ctx, struct gl_texture_image *texImage); +extern GLboolean +_swrast_alloc_texture_image_buffer(struct gl_context *ctx, + struct gl_texture_image *texImage, + gl_format format, GLsizei width, + GLsizei height, GLsizei depth); + +extern void +_swrast_free_texture_image_buffer(struct gl_context *ctx, + struct gl_texture_image *texImage); + extern void _swrast_map_teximage(struct gl_context *ctx, struct gl_texture_image *texImage, |