mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-05 12:40:26 +01:00
mesa: finally, remove the GetRow/PutRow/etc functions
(cherry picked from commit 82846fea4d)
This commit is contained in:
parent
64deeddce8
commit
d60bcbe31d
1 changed files with 0 additions and 37 deletions
|
|
@ -2558,43 +2558,6 @@ struct gl_renderbuffer
|
|||
GLboolean (*AllocStorage)(struct gl_context *ctx, struct gl_renderbuffer *rb,
|
||||
GLenum internalFormat,
|
||||
GLuint width, GLuint height);
|
||||
|
||||
/* Lock/Unlock are called before/after calling the Get/Put functions.
|
||||
* Not sure this is the right place for these yet.
|
||||
void (*Lock)(struct gl_context *ctx, struct gl_renderbuffer *rb);
|
||||
void (*Unlock)(struct gl_context *ctx, struct gl_renderbuffer *rb);
|
||||
*/
|
||||
|
||||
/* Return a pointer to the element/pixel at (x,y).
|
||||
* Should return NULL if the buffer memory can't be directly addressed.
|
||||
*/
|
||||
void *(*GetPointer)(struct gl_context *ctx, struct gl_renderbuffer *rb,
|
||||
GLint x, GLint y);
|
||||
|
||||
/* Get/Read a row of values.
|
||||
* The values will be of format _BaseFormat and type DataType.
|
||||
*/
|
||||
void (*GetRow)(struct gl_context *ctx, struct gl_renderbuffer *rb, GLuint count,
|
||||
GLint x, GLint y, void *values);
|
||||
|
||||
/* Get/Read values at arbitrary locations.
|
||||
* The values will be of format _BaseFormat and type DataType.
|
||||
*/
|
||||
void (*GetValues)(struct gl_context *ctx, struct gl_renderbuffer *rb, GLuint count,
|
||||
const GLint x[], const GLint y[], void *values);
|
||||
|
||||
/* Put/Write a row of values.
|
||||
* The values will be of format _BaseFormat and type DataType.
|
||||
*/
|
||||
void (*PutRow)(struct gl_context *ctx, struct gl_renderbuffer *rb, GLuint count,
|
||||
GLint x, GLint y, const void *values, const GLubyte *mask);
|
||||
|
||||
/* Put/Write values at arbitrary locations.
|
||||
* The values will be of format _BaseFormat and type DataType.
|
||||
*/
|
||||
void (*PutValues)(struct gl_context *ctx, struct gl_renderbuffer *rb, GLuint count,
|
||||
const GLint x[], const GLint y[], const void *values,
|
||||
const GLubyte *mask);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue