VirtualBox

Changeset 48719 in vbox


Ignore:
Timestamp:
Sep 26, 2013 3:33:58 PM (11 years ago)
Author:
vboxsync
Message:

crOpenGL: root vr for display (disabled so far)

Location:
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server.h

    r48615 r48719  
    147147void crServerWindowSetIsVisible(CRMuralInfo *pMural, GLboolean fIsVisible);
    148148void crServerWindowCheckIsVisible(CRMuralInfo *pMural);
     149
     150int crVBoxServerUpdateMuralRootVisibleRegion(CRMuralInfo *pMI);
    149151
    150152#define CR_SERVER_REDIR_F_NONE     0x00
     
    404406int crServerVBoxParseNumerics(const char *pszStr, const int defaultVal);
    405407
    406 
     408void CrDpRootUpdate(PCR_DISPLAY pDisplay);
    407409void CrDpEnter(PCR_DISPLAY pDisplay);
    408410void CrDpLeave(PCR_DISPLAY pDisplay);
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c

    r48635 r48719  
    28322832}
    28332833
    2834 static int crVBoxServerUpdateMuralRootVisibleRegion(CRMuralInfo *pMI)
     2834int crVBoxServerUpdateMuralRootVisibleRegion(CRMuralInfo *pMI)
    28352835{
    28362836    GLboolean fForcePresent;
     
    28852885{
    28862886    int32_t rc = VINF_SUCCESS;
     2887    int i;
    28872888
    28882889    /* non-zero rects pointer indicate rects are present and switched on
     
    29122913
    29132914    crHashtableWalk(cr_server.muralTable, crVBoxServerSetRootVisibleRegionCB, NULL);
    2914 
     2915#if 0
     2916    for (i = 0; i < cr_server.screenCount; ++i)
     2917    {
     2918        PCR_DISPLAY pDisplay = crServerDisplayGetInitialized((uint32_t)i);
     2919        if (!pDisplay)
     2920            continue;
     2921
     2922        CrDpRootUpdate(pDisplay);
     2923    }
     2924#endif
    29152925    return VINF_SUCCESS;
    29162926}
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_presenter.cpp

    r47628 r48719  
    316316}
    317317
     318void CrDpRootUpdate(PCR_DISPLAY pDisplay)
     319{
     320    crVBoxServerUpdateMuralRootVisibleRegion(&pDisplay->Mural);
     321}
     322
     323
    318324typedef struct CR_DEM_ENTRY_INFO
    319325{
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