[vbox-dev] Synchronizing access to the framebuffer in VirtualBox 5

Vitali Pelenjow Vitali.Pelenjow at oracle.com
Thu May 19 18:56:53 UTC 2016

Hi Rudolfs,

how the custom frontend reads pixels: directly in 
IFramebuffer::NotifyUpdate or from a different thread?
If pixels are read in IFramebuffer::NotifyUpdate, then technically it 
should be ok, i.e. AFAIK the framebuffer
it not changed at the time.


Rūdolfs Bundulis wrote:
> Hi,
> after transferring my custom frontend code to VirtualBox 5 I started 
> to notice small artifacts in the video stream - I assume since there 
> are no more Lock() and Unlock() methods I may be reading the pixels 
> while another update is actually in progress. Is there any mechanism 
> to implement a syncrhonized access to the framebuffer (using something 
> internal from vbox dlls is fine for me, I am already dynamically 
> loading them to enable OpenGL redirection).
> Best Regards,
> Rudolfs Bundulis
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> https://www.virtualbox.org/mailman/listinfo/vbox-dev

More information about the vbox-dev mailing list