VirtualBox

Ignore:
Timestamp:
Jul 13, 2015 10:23:52 AM (10 years ago)
Author:
vboxsync
Message:

3D: Display List: Expando SPU and DLM module code significantly reworked (diff unreadable); first revision when glxgears can be saved and successfully restored; more testing and debugging needed; prelimenary tested ane enabled for Mac hosts only.

File:
1 edited

Legend:

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

    r56473 r56922  
    16831683    }
    16841684
     1685    rc = crServerPendSaveState(pSSM);
     1686    AssertRCReturn(rc, rc);
     1687
     1688    rc = CrPMgrSaveState(pSSM);
     1689    AssertRCReturn(rc, rc);
     1690
    16851691#ifdef VBOX_WITH_CR_DISPLAY_LISTS
    16861692    if (cr_server.head_spu->dispatch_table.spu_save_state)
    16871693    {
    1688         rc = cr_server.head_spu->dispatch_table.spu_save_state("NULL");
     1694        rc = cr_server.head_spu->dispatch_table.spu_save_state((void *)pSSM);
    16891695        AssertRCReturn(rc, rc);
    16901696    }
     
    16921698        crDebug("Do not save %s SPU state: no interface exported.", cr_server.head_spu->name);
    16931699#endif
    1694 
    1695     rc = crServerPendSaveState(pSSM);
    1696     AssertRCReturn(rc, rc);
    1697 
    1698     rc = CrPMgrSaveState(pSSM);
    1699     AssertRCReturn(rc, rc);
    17001700
    17011701    /* all context gl error states should have now be synced with chromium erro states,
     
    24812481    }
    24822482
     2483#ifdef VBOX_WITH_CR_DISPLAY_LISTS
     2484    if (version >= SHCROGL_SSM_VERSION_WITH_DISPLAY_LISTS)
     2485    {
     2486        if (cr_server.head_spu->dispatch_table.spu_load_state)
     2487        {
     2488            rc = cr_server.head_spu->dispatch_table.spu_load_state((void *)pSSM);
     2489            AssertRCReturn(rc, rc);
     2490        }
     2491        else
     2492            crDebug("Do not load %s SPU state: no interface exported.", cr_server.head_spu->name);
     2493    }
     2494#endif
     2495
    24832496    while ((err = cr_server.head_spu->dispatch_table.GetError()) != GL_NO_ERROR)
    24842497        crWarning("crServer: glGetError %d after loading snapshot", err);
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