diff options
author | Brian <[email protected]> | 2007-06-29 13:10:47 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-06-29 13:10:47 -0600 |
commit | d523a04853fe9924d8dbf86da08019d17d4f58ef (patch) | |
tree | 58d44f02c4280b8fbd082ca0de82f4df49babf88 /src/mesa | |
parent | e62cf5c69ab605b78324639f5455ac9921e68dba (diff) |
added buffer_data(), buffer_sub_data() to pipe_buffer
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/pipe/p_state.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_state.h b/src/mesa/pipe/p_state.h index 6a9a86fa97f..66a53483a30 100644 --- a/src/mesa/pipe/p_state.h +++ b/src/mesa/pipe/p_state.h @@ -229,6 +229,9 @@ struct pipe_sampler_state */ struct pipe_buffer { + void (*buffer_data)(struct pipe_buffer *pb, GLuint size, const void *src); + void (*buffer_sub_data)(struct pipe_buffer *pb, GLuint offset, GLuint size, + const void *src); void *(*map)(struct pipe_buffer *pb, GLuint access_mode); void (*unmap)(struct pipe_buffer *pb); void *ptr; /**< address, only valid while mapped */ |