Browse Source

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.)
jp9000 3 years ago
parent
commit
f2628de7f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/obs-browser

+ 1 - 1
plugins/obs-browser

@@ -1 +1 @@
-Subproject commit b0d687937af876b52b69c46e276b4ab601b07f0e
+Subproject commit b22c82179953a90d30e7956b23a0dac9a0131f29