do we need bitmap.lock() ? #4822
Replies: 1 comment
-
My understanding is that it's required to keep the WPF render thread synchronised correctly. You can plugin your own render handler implementation if you want to run without locking. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
do we really need bitmap.Lock() in WritableBitmapRenderHandler.cs? as it's on dispatcher thread only. tried by removing Lock(), it's working fine for me.
https://github.com/cefsharp/CefSharp/blob/master/CefSharp.Wpf/Rendering/WritableBitmapRenderHandler.cs#L179
Beta Was this translation helpful? Give feedback.
All reactions