Changeset 48897 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_misc.c
- Timestamp:
- Oct 4, 2013 7:35:58 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_misc.c
r48615 r48897 1590 1590 } 1591 1591 1592 void crServerDumpTexture s()1592 void crServerDumpTexture(const VBOXVR_TEXTURE *pTex) 1593 1593 { 1594 1594 CRContextInfo *pCtxInfo = cr_server.currentCtxInfo; … … 1606 1606 crServerVBoxBlitterCtxInit(&BltCtx, pCtxInfo); 1607 1607 1608 crRecDumpTextureF(&cr_server.Recorder, pTex, &BltCtx, &BltWin, "Tex (%d x %d), hwid (%d) target %#x", pTex->width, pTex->height, pTex->hwid, pTex->target); 1609 } 1610 1611 void crServerDumpTextures() 1612 { 1613 CRContextInfo *pCtxInfo = cr_server.currentCtxInfo; 1614 CR_BLITTER_WINDOW BltWin; 1615 CR_BLITTER_CONTEXT BltCtx; 1616 CRContext *ctx = crStateGetCurrent(); 1617 int rc = crServerDumpCheckInit(); 1618 if (!RT_SUCCESS(rc)) 1619 { 1620 crWarning("crServerDumpCheckInit failed, rc %d", rc); 1621 return; 1622 } 1623 1624 crServerVBoxBlitterWinInit(&BltWin, cr_server.currentMural); 1625 crServerVBoxBlitterCtxInit(&BltCtx, pCtxInfo); 1626 1608 1627 crRecDumpTextures(&cr_server.Recorder, ctx, &BltCtx, &BltWin); 1609 1628 }
Note:
See TracChangeset
for help on using the changeset viewer.