Changeset 48613 in vbox for trunk/src/VBox/GuestHost
- Timestamp:
- Sep 20, 2013 4:22:23 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/dump.cpp
r48292 r48613 34 34 #ifdef VBOX_WITH_CRDUMPER 35 35 36 static uint32_t g_CrDbgDumpRecTexInfo = 0; 37 36 38 /* dump stuff */ 37 39 #pragma pack(1) … … 340 342 GLint hwTex = 0, hwObjType = 0, hwTexLevel = 0, hwCubeFace = 0; 341 343 GLint width = 0, height = 0, depth = 0; 344 GLint id = 0; 342 345 CR_BLITTER_IMG Img = {0}; 343 346 VBOXVR_TEXTURE Tex; … … 384 387 CRTextureLevel *pTl = NULL; 385 388 389 id = pTobj->id; 390 386 391 Assert(iColor < RT_ELEMENTS(ctx->framebufferobject.drawFB->color)); 387 392 … … 457 462 if (RT_SUCCESS(rc)) 458 463 { 459 crDmpImg (pRec->pDumper, &Img, "buffer_data");464 crDmpImgF(pRec->pDumper, &Img, "ctx(%d), BUFFER: id(%d) hwid(%d), width(%d), height(%d)", ctx, id, Tex.hwid, width, height); 460 465 CrBltImgFree(pRec->pBlitter, &Img); 461 466 } … … 1315 1320 Tex.hwid = hwTex; 1316 1321 1317 crRecDumpTexParam(pRec, ctx, GL_TEXTURE_2D); 1318 crRecDumpTexEnv(pRec, ctx); 1319 crRecDumpTexGen(pRec, ctx); 1322 if (g_CrDbgDumpRecTexInfo) 1323 { 1324 crRecDumpTexParam(pRec, ctx, GL_TEXTURE_2D); 1325 crRecDumpTexEnv(pRec, ctx); 1326 crRecDumpTexGen(pRec, ctx); 1327 } 1320 1328 1321 1329 rc = CrBltEnter(pRec->pBlitter, pCurCtx, pCurWin);
Note:
See TracChangeset
for help on using the changeset viewer.