Changeset 56922 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
- Timestamp:
- Jul 13, 2015 10:23:52 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
r56473 r56922 1683 1683 } 1684 1684 1685 rc = crServerPendSaveState(pSSM); 1686 AssertRCReturn(rc, rc); 1687 1688 rc = CrPMgrSaveState(pSSM); 1689 AssertRCReturn(rc, rc); 1690 1685 1691 #ifdef VBOX_WITH_CR_DISPLAY_LISTS 1686 1692 if (cr_server.head_spu->dispatch_table.spu_save_state) 1687 1693 { 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); 1689 1695 AssertRCReturn(rc, rc); 1690 1696 } … … 1692 1698 crDebug("Do not save %s SPU state: no interface exported.", cr_server.head_spu->name); 1693 1699 #endif 1694 1695 rc = crServerPendSaveState(pSSM);1696 AssertRCReturn(rc, rc);1697 1698 rc = CrPMgrSaveState(pSSM);1699 AssertRCReturn(rc, rc);1700 1700 1701 1701 /* all context gl error states should have now be synced with chromium erro states, … … 2481 2481 } 2482 2482 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 2483 2496 while ((err = cr_server.head_spu->dispatch_table.GetError()) != GL_NO_ERROR) 2484 2497 crWarning("crServer: glGetError %d after loading snapshot", err);
Note:
See TracChangeset
for help on using the changeset viewer.