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
-
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