Changeset 50095 in vbox for trunk/src/VBox/GuestHost/OpenGL/state_tracker
- Timestamp:
- Jan 17, 2014 4:34:07 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 91620
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/dump.cpp
r50041 r50095 337 337 } 338 338 339 void crRecDumpBuffer(CR_RECORDER *pRec, CRContext *ctx, CR_BLITTER_CONTEXT *pCurCtx, CR_BLITTER_WINDOW *pCurWin,GLint idRedirFBO, VBOXVR_TEXTURE *pRedirTex)339 void crRecDumpBuffer(CR_RECORDER *pRec, CRContext *ctx, GLint idRedirFBO, VBOXVR_TEXTURE *pRedirTex) 340 340 { 341 341 GLenum texTarget = 0; … … 412 412 pTl = &pTobj->level[0][hwTexLevel]; 413 413 414 rc = CrBltEnter(pRec->pBlitter , pCurCtx, pCurWin);414 rc = CrBltEnter(pRec->pBlitter); 415 415 if (!RT_SUCCESS(rc)) 416 416 { … … 447 447 height = pRedirTex->height; 448 448 449 rc = CrBltEnter(pRec->pBlitter , pCurCtx, pCurWin);449 rc = CrBltEnter(pRec->pBlitter); 450 450 if (!RT_SUCCESS(rc)) 451 451 { … … 1338 1338 } 1339 1339 1340 void crRecDumpTextureV(CR_RECORDER *pRec, const VBOXVR_TEXTURE *pTex, CR_BLITTER_CONTEXT *pCurCtx, CR_BLITTER_WINDOW *pCurWin,const char *pszStr, va_list pArgList)1340 void crRecDumpTextureV(CR_RECORDER *pRec, const VBOXVR_TEXTURE *pTex, const char *pszStr, va_list pArgList) 1341 1341 { 1342 1342 CR_BLITTER_IMG Img = {0}; 1343 int rc = CrBltEnter(pRec->pBlitter , pCurCtx, pCurWin);1343 int rc = CrBltEnter(pRec->pBlitter); 1344 1344 if (RT_SUCCESS(rc)) 1345 1345 { … … 1376 1376 } 1377 1377 1378 void crRecDumpTextureF(CR_RECORDER *pRec, const VBOXVR_TEXTURE *pTex, CR_BLITTER_CONTEXT *pCurCtx, CR_BLITTER_WINDOW *pCurWin,const char *pszStr, ...)1378 void crRecDumpTextureF(CR_RECORDER *pRec, const VBOXVR_TEXTURE *pTex, const char *pszStr, ...) 1379 1379 { 1380 1380 va_list pArgList; 1381 1381 va_start(pArgList, pszStr); 1382 crRecDumpTextureV(pRec, pTex, p CurCtx, pCurWin, pszStr, pArgList);1382 crRecDumpTextureV(pRec, pTex, pszStr, pArgList); 1383 1383 va_end(pArgList); 1384 1384 } 1385 1385 1386 void crRecDumpTextureByIdV(CR_RECORDER *pRec, CRContext *ctx, GLint id, CR_BLITTER_CONTEXT *pCurCtx, CR_BLITTER_WINDOW *pCurWin,const char *pszStr, va_list pArgList)1386 void crRecDumpTextureByIdV(CR_RECORDER *pRec, CRContext *ctx, GLint id, const char *pszStr, va_list pArgList) 1387 1387 { 1388 1388 CRTextureObj *pTobj = (CRTextureObj *)crHashtableSearch(ctx->shared->textureTable, id); … … 1406 1406 } 1407 1407 1408 crRecDumpTextureV(pRec, &Tex, p CurCtx, pCurWin, pszStr, pArgList);1409 } 1410 1411 void crRecDumpTextureByIdF(CR_RECORDER *pRec, CRContext *ctx, GLint id, CR_BLITTER_CONTEXT *pCurCtx, CR_BLITTER_WINDOW *pCurWin,const char *pszStr, ...)1408 crRecDumpTextureV(pRec, &Tex, pszStr, pArgList); 1409 } 1410 1411 void crRecDumpTextureByIdF(CR_RECORDER *pRec, CRContext *ctx, GLint id, const char *pszStr, ...) 1412 1412 { 1413 1413 va_list pArgList; 1414 1414 va_start(pArgList, pszStr); 1415 crRecDumpTextureByIdV(pRec, ctx, id, p CurCtx, pCurWin, pszStr, pArgList);1415 crRecDumpTextureByIdV(pRec, ctx, id, pszStr, pArgList); 1416 1416 va_end(pArgList); 1417 1417 } 1418 1418 1419 void crRecDumpTextures(CR_RECORDER *pRec, CRContext *ctx , CR_BLITTER_CONTEXT *pCurCtx, CR_BLITTER_WINDOW *pCurWin)1419 void crRecDumpTextures(CR_RECORDER *pRec, CRContext *ctx) 1420 1420 { 1421 1421 GLint maxUnits = 0; … … 1510 1510 } 1511 1511 1512 crRecDumpTextureF(pRec, &Tex, pCurCtx, pCurWin,"ctx(%d), Unit %d: TEXTURE_2D id(%d) hwid(%d), width(%d), height(%d)", ctx, i, pTobj->id, pTobj->hwid, width, height);1512 crRecDumpTextureF(pRec, &Tex, "ctx(%d), Unit %d: TEXTURE_2D id(%d) hwid(%d), width(%d), height(%d)", ctx, i, pTobj->id, pTobj->hwid, width, height); 1513 1513 } 1514 1514 // else … … 1558 1558 Tex.hwid = hwTex; 1559 1559 1560 rc = CrBltEnter(pRec->pBlitter , pCurCtx, pCurWin);1560 rc = CrBltEnter(pRec->pBlitter); 1561 1561 if (RT_SUCCESS(rc)) 1562 1562 {
Note:
See TracChangeset
for help on using the changeset viewer.