projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e62cf5c
)
added buffer_data(), buffer_sub_data() to pipe_buffer
author
Brian
<brian.paul@tungstengraphics.com>
Fri, 29 Jun 2007 19:10:47 +0000
(13:10 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Fri, 29 Jun 2007 19:10:47 +0000
(13:10 -0600)
src/mesa/pipe/p_state.h
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/p_state.h
b/src/mesa/pipe/p_state.h
index 6a9a86fa97f8d4ff1b95e15b3198a801026e87f6..66a53483a305ab9104006d1dfb13082c7f8af97b 100644
(file)
--- 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 */