[Mesa-dev] [PATCH 01/24] mesa: Add a driver hook for mapping renderbuffers.
Eric Anholt
eric at anholt.net
Fri Oct 28 12:49:51 PDT 2011
---
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 8607008..d6cbcf1 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -514,6 +514,15 @@ struct dd_function_table {
/** Unmap texture images from user space */
void (*UnmapTexture)( struct gl_context *ctx, struct gl_texture_object *tObj );
+ 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
--
1.7.7
More information about the mesa-dev
mailing list