From: Brian Date: Fri, 29 Jun 2007 19:10:47 +0000 (-0600) Subject: added buffer_data(), buffer_sub_data() to pipe_buffer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d523a04853fe9924d8dbf86da08019d17d4f58ef;p=mesa.git added buffer_data(), buffer_sub_data() to pipe_buffer --- 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 */