st/wgl: reimplement stw_framebuffer::mutex with CRITICAL_SECTION
authorBrian Paul <brianp@vmware.com>
Tue, 10 Nov 2015 21:38:25 +0000 (14:38 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 12 Nov 2015 18:21:25 +0000 (11:21 -0700)
commitdabc423ed0f946bc32268a42dc8fee12a1cd0b0a
tree6c213af1d20badc39938dc9eb2a1f01ead1b0f0c
parentf71508ae793aaea999d3aa5bdd5f4cf157f016c6
st/wgl: reimplement stw_framebuffer::mutex with CRITICAL_SECTION

v2: update comments on the stw_framebuffer::mutex field regarding locking
order.

Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/state_trackers/wgl/stw_device.h
src/gallium/state_trackers/wgl/stw_framebuffer.c
src/gallium/state_trackers/wgl/stw_framebuffer.h
src/gallium/state_trackers/wgl/stw_st.c