From d523a04853fe9924d8dbf86da08019d17d4f58ef Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 29 Jun 2007 13:10:47 -0600 Subject: added buffer_data(), buffer_sub_data() to pipe_buffer --- src/mesa/pipe/p_state.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mesa') diff --git a/src/mesa/pipe/p_state.h b/src/mesa/pipe/p_state.h index 6a9a86fa97..66a53483a3 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 */ -- cgit v1.2.3