projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
244591a
)
mesa: Translate MAP_UNSYNCHRONIZED_BIT.
author
José Fonseca
<jfonseca@vmware.com>
Fri, 6 Nov 2009 12:04:49 +0000
(12:04 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 6 Nov 2009 12:06:44 +0000
(12:06 +0000)
src/mesa/state_tracker/st_cb_bufferobjects.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_bufferobjects.c
b/src/mesa/state_tracker/st_cb_bufferobjects.c
index 8e09d0b9324152ebb196665c949e314d10d48adc..63196afba9c9eecdd26a825e855f6a6b33eee83a 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_bufferobjects.c
+++ b/
src/mesa/state_tracker/st_cb_bufferobjects.c
@@
-239,6
+239,9
@@
st_bufferobj_map_range(GLcontext *ctx, GLenum target,
if (access & GL_MAP_FLUSH_EXPLICIT_BIT)
flags |= PIPE_BUFFER_USAGE_FLUSH_EXPLICIT;
+ if (access & GL_MAP_UNSYNCHRONIZED_BIT)
+ flags |= PIPE_BUFFER_USAGE_UNSYNCHRONIZED;
+
/* ... other flags ...
*/