diff options
author | Brian Paul <brianp@vmware.com> | 2009-06-02 20:31:02 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-06-02 20:35:12 -0600 |
commit | da729f4e49fbc32ada9ab1b2b13ba17ec80b3b78 (patch) | |
tree | d16e4b339d7179f839b392ef749392b38f8393c0 | |
parent | 80b0c75a456ee193928258866e8f5c8c9fbfce9d (diff) |
mesa: new CopyBufferSubData() driver hook
-rw-r--r-- | src/mesa/main/dd.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index 32b1d4e9fa..1d92e510a4 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -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, |