mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-28 07:30:22 +01:00
added buffer_data(), buffer_sub_data() to pipe_buffer
This commit is contained in:
parent
e62cf5c69a
commit
d523a04853
1 changed files with 3 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue