[vbox-dev] IFramebuffer - requestResize vram question

Klaus Espenlaub klaus.espenlaub at oracle.com
Fri Apr 27 05:48:01 GMT 2012


On 27.04.2012 02:43, Jaikumar G wrote:
> Folks,
> https://www.virtualbox.org/sdkref/interface_i_framebuffer.html -
> requestResize function says that in direct mode the Vram pointer content
> can be blitted into the window showing the display.
>
> Is this vram pointer pointing to a shared memory location accessible by
> another process ? I just tried to access it and it segfaults.
>
> Is my understanding of the API incorrect ? If I want to have the display
> in another process - can I access the vram pointer directly - instead of
> creating a shared buffer and passing it in the IFramebuffer implementation ?

This interface method isn't directly intended for using shared memory 
(but it might work if the VM frontend knows how to handle it), and it 
can only be used by the VM frontend itself, as pointers make no sense 
across processes.

Klaus

>
> Thanks




More information about the vbox-dev mailing list