summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/p_defines.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-01-15 14:18:17 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-01-15 14:18:17 -0700
commitdd5a8d234b95c6f85d0a6ecb18db8aadefb71dbd (patch)
treedee2fa92eafe9c8841832a70e5fd22678c90b3df /src/mesa/pipe/p_defines.h
parentd280206c7f74c6c0fc22798b5945db3bf369364e (diff)
Add surface status/clear_value fields, PIPE_SURFACE_STATUS_x tokens
Diffstat (limited to 'src/mesa/pipe/p_defines.h')
-rw-r--r--src/mesa/pipe/p_defines.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_defines.h b/src/mesa/pipe/p_defines.h
index c6d9c02bd9..50bea691e7 100644
--- a/src/mesa/pipe/p_defines.h
+++ b/src/mesa/pipe/p_defines.h
@@ -170,6 +170,14 @@ enum pipe_texture_target {
/**
+ * Surface status
+ */
+#define PIPE_SURFACE_STATUS_UNDEFINED 0
+#define PIPE_SURFACE_STATUS_DEFINED 1
+#define PIPE_SURFACE_STATUS_CLEAR 2
+
+
+/**
* Buffer access flags
*/
#define PIPE_BUFFER_FLAG_READ 0x1