Changeset 50123 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_muralfbo.cpp
- Timestamp:
- Jan 20, 2014 4:30:32 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 91668
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_muralfbo.cpp
r50095 r50123 47 47 crServerRedirMuralFBO(mural, true); 48 48 crServerRedirMuralFbSync(mural); 49 } 50 51 static void crServerCheckMuralGeometryCB(unsigned long key, void *data1, void *data2) 52 { 53 CRMuralInfo *pMI = (CRMuralInfo*) data1; 54 55 if (!pMI->fRedirected || pMI == data2) 56 return; 57 58 crServerCheckMuralGeometry(pMI); 59 } 60 61 62 void crServerCheckAllMuralGeometry(CRMuralInfo *pMI) 63 { 64 CR_FBMAP Map; 65 int rc = CrPMgrHlpGlblUpdateBegin(&Map); 66 if (!RT_SUCCESS(rc)) 67 { 68 WARN(("CrPMgrHlpGlblUpdateBegin failed %d", rc)); 69 return; 70 } 71 72 crHashtableWalk(cr_server.muralTable, crServerCheckMuralGeometryCB, pMI); 73 74 if (pMI) 75 crServerCheckMuralGeometry(pMI); 76 77 CrPMgrHlpGlblUpdateEnd(&Map); 49 78 } 50 79
Note:
See TracChangeset
for help on using the changeset viewer.