VirtualBox

Changeset 45248 in vbox for trunk/src/VBox/GuestHost/OpenGL


Ignore:
Timestamp:
Mar 29, 2013 2:57:24 PM (12 years ago)
Author:
vboxsync
Message:

crOpenGL/VRDP: always show 3D window unles in Headles mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/include/cr_server.h

    r45217 r45248  
    100100
    101101    GLboolean bVisible;      /*guest window is visible*/
    102     GLubyte   fUseFBO;       /*redirect to FBO instead of real host window*/
     102    GLubyte   u8Unused;       /*redirect to FBO instead of real host window*/
    103103    GLboolean bFbDraw;       /*GL_FRONT buffer is drawn to directly*/
    104104    GLboolean fDataPresented;
     
    128128
    129129    GLuint cDisabled;
     130
     131    GLuint   fPresentMode;       /*redirect to FBO instead of real host window*/
     132
     133    GLboolean fHasParentWindow;
    130134
    131135    GLboolean fRootVrOn;
     
    219223/* @todo:
    220224 * 1. use compositor stored inside mural to use current MuralFBO and window-related API
    221  * 2. CR_SERVER_REDIR_NONE and CR_SERVER_REDIR_FBO_BLT should be trated identically for presented window
    222  *    since we just need to blit the given textures to it if we are NOT in CR_SERVER_REDIR_FBO_RAM mode */
     225 * 2. CR_SERVER_REDIR_F_NONE and CR_SERVER_REDIR_F_FBO should be trated identically for presented window
     226 *    since we just need to blit the given textures to it if we are NOT in CR_SERVER_REDIR_F_FBO_RAM mode */
    223227typedef struct CR_DISPLAY
    224228{
     
    388392
    389393    PFNCRSERVERPRESENTFBO pfnPresentFBO;
    390     GLubyte               bForceOffscreenRendering; /*Force server to render 3d data offscreen
     394    GLuint                fPresentMode; /*Force server to render 3d data offscreen
    391395                                                     *using callback above to update vbox framebuffers*/
    392     GLubyte               bOffscreenRenderingDefault; /*can be set with CR_SERVER_DEFAULT_RENDER_TYPE*/
     396    GLuint                fPresentModeDefault; /*can be set with CR_SERVER_DEFAULT_RENDER_TYPE*/
    393397    GLboolean             bUsePBOForReadback;       /*Use PBO's for data readback*/
    394398
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette