diff options
author | Brian Paul <brianp@vmware.com> | 2009-06-02 20:31:02 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-06-02 21:35:10 -0600 |
commit | 76b438878e4ab504d68efb8800111e4c41ddeadc (patch) | |
tree | 416219a5c0037d855316e4cc4d566adbb05dad78 /src | |
parent | 751977075f30076bd5e53f9ed9b19d9b36b5da69 (diff) |
mesa: new CopyBufferSubData() driver hook
Diffstat (limited to 'src')
-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, |