projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mesa: add Const.BufferCreateMapUnsynchronizedThreadSafe & MESA_MAP_THREAD_SAFE
[mesa.git]
/
src
/
mesa
/
main
/
dd.h
diff --git
a/src/mesa/main/dd.h
b/src/mesa/main/dd.h
index 3fd47ba6f9ea030622959a0569dd340971f78f91..b7973e1c6aec9230de6ba5f4aa341da96e943d04 100644
(file)
--- a/
src/mesa/main/dd.h
+++ b/
src/mesa/main/dd.h
@@
-70,6
+70,9
@@
struct _mesa_index_buffer;
*/
#define MESA_MAP_NOWAIT_BIT 0x4000
+/* Mapping a buffer is allowed from any thread. */
+#define MESA_MAP_THREAD_SAFE_BIT 0x8000
+
/**
* Device driver function table.