diff options
author | Brian Paul <[email protected]> | 2011-07-29 15:30:21 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-08-29 10:10:03 -0700 |
commit | e10337da21d45ab7cccfa98b4112d1b33f3a5604 (patch) | |
tree | 43dc65dc024c90b1e703500e6b01132eca9d25f5 /src/mesa/swrast/swrast.h | |
parent | bfc09e92ffbf3e03f5ea09421d2b8cbae1df53bf (diff) |
swrast: Add implementation of MapTextureImage/UnmapTextureImage.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/swrast/swrast.h')
-rw-r--r-- | src/mesa/swrast/swrast.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mesa/swrast/swrast.h b/src/mesa/swrast/swrast.h index 27b74c32486..c8b99863568 100644 --- a/src/mesa/swrast/swrast.h +++ b/src/mesa/swrast/swrast.h @@ -182,6 +182,20 @@ _swrast_render_start( struct gl_context *ctx ); extern void _swrast_render_finish( struct gl_context *ctx ); +extern void +_swrast_map_teximage(struct gl_context *ctx, + struct gl_texture_image *texImage, + GLuint slice, + GLuint x, GLuint y, GLuint w, GLuint h, + GLbitfield mode, + GLubyte **mapOut, + GLint *rowStrideOut); + +extern void +_swrast_unmap_teximage(struct gl_context *ctx, + struct gl_texture_image *texImage, + GLuint slice); + /* Tell the software rasterizer about core state changes. */ extern void |