mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
obs-browser: Acquire, copy, and release immediately
Instead of holding onto an acquire over the duration of an entire frame, acquire, copy to a texture, and immediately release the lock. (Note from Jim: When it comes to synchronization, the idea of acquiring a lock, and then releasing all the way in the next frame just feels a bit worrisome. Especially when it's a GPU object. But at this point, I'm just making shots in the dark in an attempt to eliminate any possible things that might even have a remote chance to trigger latent bugs in a GPU driver or the kernel. You know, that whole system freeze thing. This probably doesn't have anything to do with it, at this point I have nothing but wild geese to chase. Whatever.)
This commit is contained in:
parent
2720e6d00f
commit
ee878043b2
@ -1 +1 @@
|
||||
Subproject commit b0d687937af876b52b69c46e276b4ab601b07f0e
|
||||
Subproject commit b22c82179953a90d30e7956b23a0dac9a0131f29
|
Loading…
Reference in New Issue
Block a user