OSDN Git Service

wgl: Protect the framebuffer with a lock.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 10 Apr 2009 18:48:59 +0000 (19:48 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 10 Apr 2009 18:50:35 +0000 (19:50 +0100)
commit11084d582764a916245ae92437421ac0cacdf335
tree29b6cf1a13759ab089534915dacc9d66228097b7
parent6fc244c68d3b3a9f89b6f752725e6c768cb08a84
wgl: Protect the framebuffer with a lock.

Unfortunately this doesn't catch all the cases, as the mesa state tracker
can still use the framebuffer without giving the wgl state tracker
the chance to lock it.
src/gallium/state_trackers/wgl/shared/stw_context.c
src/gallium/state_trackers/wgl/shared/stw_framebuffer.c
src/gallium/state_trackers/wgl/shared/stw_framebuffer.h