Hello, I have a little confusion about where exactly OnPaint is being called. In versions prior to 2494 (current dev branch), I used to have a mutex in my CEF renderer class and copy the buffer out of it for my UI thread but after I upgraded to 2494 I noticed OnPaint is always being called on my UI thread and once my UI update() loop tries to pull the copied buffer, it raises an exception because the mutex is already locked by the same thread.
So bottom line, my question is who calls the OnPaint and where? docs says after I call Invalidate(), OnPaint is supposed to be called asynchronously but that is not happening in my case.
I am not actually complaining, the performance is fantastic with 2494, I no longer need to double-copy the browser buffer, I am just curious if something has changed in the architecture that I am not aware of. Thanks in advance!
I am using: CEF3 - 2494 on Windows 10