Hi,

I am using crVBoxServerOutputRedirectSet and
crVBoxServerSetOffscreenRendering in my custom framebuffer to get the
offscreen rendered OpenGL data but have a little confusion about the
coordinates when running windowed OpenGL applications. Lets say I have a
640x480 window in the center of the desktop - in that case I get
0,0,640,480 in both callbacks - CRORGeometry and CRORVisibleRegion
(although I assume one of them should be offset to the real screen
coordinates, but I am not sure which one). Do I need to do any other
special calls like crVBoxServerSetScreenViewport to give some additional
info to the OpenGL service, and it seems that the renderspu.c contains
calls to CrVrScrCompositorEntryRegionsGet where it actually retrieves the
destination rectanges, but I don't see such stuff in the vrdp code, but
then again - maybe I am just missing something, like a call to tell the
service something it needs.
_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to