mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
mesa: new CopyBufferSubData() driver hook
This commit is contained in:
parent
751977075f
commit
76b438878e
1 changed files with 6 additions and 0 deletions
|
|
@ -798,6 +798,12 @@ struct dd_function_table {
|
|||
void * (*MapBuffer)( GLcontext *ctx, GLenum target, GLenum access,
|
||||
struct gl_buffer_object *obj );
|
||||
|
||||
void (*CopyBufferSubData)( GLcontext *ctx,
|
||||
struct gl_buffer_object *src,
|
||||
struct gl_buffer_object *dst,
|
||||
GLintptr readOffset, GLintptr writeOffset,
|
||||
GLsizeiptr size );
|
||||
|
||||
/* May return NULL if MESA_MAP_NOWAIT_BIT is set in access:
|
||||
*/
|
||||
void * (*MapBufferRange)( GLcontext *ctx, GLenum target,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue