projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b13336
)
move pipe_buffer_handle definition to top of file, use it in pipe_region
author
Brian
<brian.paul@tungstengraphics.com>
Sat, 11 Aug 2007 15:59:54 +0000
(16:59 +0100)
committer
Brian
<brian.paul@tungstengraphics.com>
Sat, 11 Aug 2007 15:59:54 +0000
(16:59 +0100)
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 df456cc2edd8cc28bf18b04fd4e8ff2e3a65039b..6799fdb31c81ed428de4ecc18016a31c176825f0 100644
(file)
--- a/
src/mesa/pipe/p_state.h
+++ b/
src/mesa/pipe/p_state.h
@@
-55,6
+55,9
@@
/* fwd decl */
struct pipe_surface;
+/* opaque type */
+struct pipe_buffer_handle;
+
/***
*** State objects
@@
-238,7
+241,7
@@
struct pipe_sampler_state
struct pipe_region
{
-
void *buffer;
/**< driver private buffer handle */
+
struct pipe_buffer_handle *buffer;
/**< driver private buffer handle */
GLuint refcount; /**< Reference count for region */
GLuint cpp; /**< bytes per pixel */
@@
-326,8
+329,4
@@
struct pipe_mipmap_tree
};
-
-struct pipe_buffer_handle;
-
-
#endif