VirtualBox

Ignore:
Timestamp:
Nov 5, 2014 11:24:39 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
96782
Message:

Host 3D: Chromium server: drop non-functional code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c

    r53166 r53233  
    743743
    744744    crServerServiceClients();
    745 
    746 #if 0
    747         if (pClient->currentMural) {
    748             crStateViewport( 0, 0, 500, 500 );
    749             pClient->currentMural->viewportValidated = GL_FALSE;
    750             cr_server.head_spu->dispatch_table.Viewport( 0, 0, 500, 500 );
    751             crStateViewport( 0, 0, 600, 600 );
    752             pClient->currentMural->viewportValidated = GL_FALSE;
    753             cr_server.head_spu->dispatch_table.Viewport( 0, 0, 600, 600 );
    754 
    755             crStateMatrixMode(GL_PROJECTION);
    756             cr_server.head_spu->dispatch_table.MatrixMode(GL_PROJECTION);
    757             crServerDispatchLoadIdentity();
    758             crStateFrustum(-0.6, 0.6, -0.5, 0.5, 1.5, 150.0);
    759             cr_server.head_spu->dispatch_table.Frustum(-0.6, 0.6, -0.5, 0.5, 1.5, 150.0);
    760             crServerDispatchLoadIdentity();
    761             crStateFrustum(-0.5, 0.5, -0.5, 0.5, 1.5, 150.0);
    762             cr_server.head_spu->dispatch_table.Frustum(-0.5, 0.5, -0.5, 0.5, 1.5, 150.0);
    763 
    764             crStateMatrixMode(GL_MODELVIEW);
    765             cr_server.head_spu->dispatch_table.MatrixMode(GL_MODELVIEW);
    766             crServerDispatchLoadIdentity();
    767             crStateFrustum(-0.5, 0.5, -0.5, 0.5, 1.5, 150.0);
    768             cr_server.head_spu->dispatch_table.Frustum(-0.5, 0.5, -0.5, 0.5, 1.5, 150.0);
    769             crServerDispatchLoadIdentity();
    770         }
    771 #endif
    772 
    773745    crStateResetCurrentPointers(&cr_server.current);
    774746
     
    792764    if (RT_FAILURE(rc))
    793765        return rc;
    794 
    795766
    796767    CRASSERT(pBuffer);
     
    13871358    }
    13881359
    1389     if ((pCtxInfo->CreateInfo.requestedVisualBits & CR_STENCIL_BIT)
    1390                 || (pCtxInfo->CreateInfo.requestedVisualBits & CR_DEPTH_BIT))
     1360    if (   (pCtxInfo->CreateInfo.requestedVisualBits & CR_STENCIL_BIT)
     1361        || (pCtxInfo->CreateInfo.requestedVisualBits & CR_DEPTH_BIT))
    13911362    {
    13921363        pEl = &pData->aElements[pData->cElements];
Note: See TracChangeset for help on using the changeset viewer.

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