diff options
author | Eric Anholt <[email protected]> | 2011-10-11 14:12:50 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-11-01 15:42:17 -0700 |
commit | a25a452fbed6cd72b356ff96839d2097b3e4a4fe (patch) | |
tree | 7a184e7c636957dbab952e90045737c09fca461c /src/mesa | |
parent | 15b58d8c2233f0e67257cb907c7d90fa23c723a5 (diff) |
mesa: Add a driver hook for mapping renderbuffers.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/dd.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index 86a547da32e..9842540dae0 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -523,6 +523,15 @@ struct dd_function_table { GLsizei levels, GLsizei width, GLsizei height, GLsizei depth); + void (*MapRenderbuffer)(struct gl_context *ctx, + struct gl_renderbuffer *rb, + GLuint x, GLuint y, GLuint w, GLuint h, + GLbitfield mode, + GLubyte **mapOut, GLint *rowStrideOut); + + void (*UnmapRenderbuffer)(struct gl_context *ctx, + struct gl_renderbuffer *rb); + /** * Note: no context argument. This function doesn't initially look * like it belongs here, except that the driver is the only entity |