mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08: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:
+1
-1
Submodule plugins/obs-browser updated: b0d687937a...b22c821799
Reference in New Issue
Block a user