OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f45b644
)
st/wgl: add a comment about recursive locking in stw_make_current()
author
Brian Paul
<brianp@vmware.com>
Tue, 10 Nov 2015 21:49:17 +0000
(14:49 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 12 Nov 2015 18:21:25 +0000
(11:21 -0700)
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/state_trackers/wgl/stw_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/wgl/stw_context.c
b/src/gallium/state_trackers/wgl/stw_context.c
index
6387723
..
5978ca6
100644
(file)
--- a/
src/gallium/state_trackers/wgl/stw_context.c
+++ b/
src/gallium/state_trackers/wgl/stw_context.c
@@
-441,6
+441,10
@@
stw_make_current(HDC hdc, DHGLRC dhglrc)
/* Bind the new framebuffer */
ctx->hdc = hdc;
+ /* Note: when we call this function we will wind up in the
+ * stw_st_framebuffer_validate_locked() function which will incur
+ * a recursive fb->mutex lock.
+ */
ret = stw_dev->stapi->make_current(stw_dev->stapi, ctx->st,
fb->stfb, fb->stfb);
stw_framebuffer_reference(&ctx->current_framebuffer, fb);