summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/p_defines.h
diff options
context:
space:
mode:
authorkeithw <keithw@keithw-laptop.(none)>2007-11-19 20:05:38 +0000
committerJosé Fonseca <[email protected]>2007-12-09 14:03:33 +0000
commitcd1eefee8404ae69ea5b604971b8be78abf588e6 (patch)
tree950682cc69a75c68b2a25ec432de1d2eb3787cc9 /src/mesa/pipe/p_defines.h
parentf83d4e7bde28d6f73a0de96781da506ddb338714 (diff)
add fence interfaces and buffer create flags to pipe_winsys
Diffstat (limited to 'src/mesa/pipe/p_defines.h')
-rw-r--r--src/mesa/pipe/p_defines.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mesa/pipe/p_defines.h b/src/mesa/pipe/p_defines.h
index a8536054861..8dce3aba904 100644
--- a/src/mesa/pipe/p_defines.h
+++ b/src/mesa/pipe/p_defines.h
@@ -170,8 +170,12 @@
/**
* Buffer access flags
*/
-#define PIPE_BUFFER_FLAG_READ 0x1
-#define PIPE_BUFFER_FLAG_WRITE 0x2
+#define PIPE_BUFFER_FLAG_READ 0x1
+#define PIPE_BUFFER_FLAG_WRITE 0x2
+#define PIPE_BUFFER_FLAG_MEM_LOCAL 0x4
+#define PIPE_BUFFER_FLAG_CACHED 0x8
+#define PIPE_BUFFER_FLAG_CUSTOM (1<<16)
+
/**