[vbox-dev] IFramebuffer - requestResize vram question

Jaikumar G jaienigma at gmail.com
Fri Apr 27 06:56:36 GMT 2012


On Thu, Apr 26, 2012 at 10:48 PM, Klaus Espenlaub <
klaus.espenlaub at oracle.com> wrote:

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

So whats the recommended way of sharing the display buffer if the frontend
is running in another process ?

>
> Klaus
>
> >
> > Thanks
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> https://www.virtualbox.org/mailman/listinfo/vbox-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20120426/66388e93/attachment.html>


More information about the vbox-dev mailing list