mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-25 12:20:17 +01:00
mesa: Add a driver hook for mapping renderbuffers.
Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
15b58d8c22
commit
a25a452fbe
1 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue