[vbox-dev] OpenGL service screen redirection

Vitali Pelenjow Vitali.Pelenjow at oracle.com
Wed Apr 8 10:41:41 UTC 2015

Hi Rudolfs,

the OpenGL output redirect was created only for VRDP 3D support. 
Currently it is internal and can use only 1 redirect.
The output redirect provides a bitmap of 3D frame when it is displayed. 
If you have a 3D application in a window then you'll get
only content of the window.

As an alternative you could also use the screenshot API to get the 
image. In this case you can choose the update interval and get the 
entire screen.


On 4/8/2015 9:50 AM, Rūdolfs Bundulis wrote:
> Hi,
> I am finally starting to look into 3D acceleration for my headless 
> frontend and the first thing I wanted to try is the OpenGL output 
> redirection to a frambuffer. Looking at the code I came down to the 
> following question - what is the correct way to hook into the OpenGL 
> service? Looking ConsoleVRDPServer.cpp it seems very straightforward 
> - ConsoleVRDPServer::remote3DRedirect basically just does one HGSMI 
> call SHCRGL_HOST_FN_SET_OUTPUT_REDIRECT but as far as I understand 
> they are done through internal functions that are not exported by any 
> of the dlls so I cannot hook into that, correct? The shared OpenGL dll 
> exports a function crVBoxServerOutputRedirectSet where I can pass the 
> same callbacks, so I assume I should use that, correct?
> 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