On Thu, Apr 26, 2012 at 10:48 PM, Klaus Espenlaub < [email protected]> 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 > [email protected] > https://www.virtualbox.org/mailman/listinfo/vbox-dev >
_______________________________________________ vbox-dev mailing list [email protected] https://www.virtualbox.org/mailman/listinfo/vbox-dev
