儲存庫 vbox 的更動 88835
- 時間撮記:
- 2021-5-3 下午01:25:16 (4 年 以前)
- svn:sync-xref-src-repo-rev:
- 144169
- 位置:
- trunk/src/VBox/Devices/Graphics
- 檔案:
-
- 修改 3 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA.cpp
r88833 r88835 3447 3447 3448 3448 LogFlowFunc(("[cid=%d] %s %d\n", (int32_t)idDXContext, vmsvgaR3FifoCmdToString(cmdId), cmdId)); 3449 #ifdef LOG_ENABLED 3449 # ifdef LOG_ENABLED 3450 # ifdef VBOX_WITH_VMSVGA3D 3450 3451 if (SVGA_3D_CMD_BASE <= cmdId && cmdId < SVGA_3D_CMD_MAX) 3451 3452 { … … 3458 3459 Log7(("\t\t0x%08x\n", ((uint32_t *)pu8Cmd)[1])); 3459 3460 } 3460 #endif 3461 # endif 3462 # endif 3461 3463 3462 3464 /* At the end of the switch cbCmd is equal to the total length of the command including the cmdId. -
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA.h
r88831 r88835 74 74 # pragma GCC diagnostic pop 75 75 #endif 76 77 /**@def FLOAT_FMT_STR 78 * Format string bits to go with FLOAT_FMT_ARGS. */ 79 #define FLOAT_FMT_STR "%s%u.%06u" 80 /** @def FLOAT_FMT_ARGS 81 * Format arguments for a float value, corresponding to FLOAT_FMT_STR. 82 * @param r The floating point value to format. */ 83 #define FLOAT_FMT_ARGS(r) (r) >= 0.0f ? "" : "-", (unsigned)RT_ABS(r), (unsigned)(RT_ABS((r) - (unsigned)(r)) * 1000000.0f) 76 84 77 85 /* Deprecated commands. They are not included in the VMSVGA headers anymore. */ -
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d.h
r88831 r88835 40 40 /** Arbitrary upper limit. [0,15] is enough for 2^15=32768x32768. */ 41 41 #define SVGA3D_MAX_MIP_LEVELS 16 42 43 44 /**@def FLOAT_FMT_STR45 * Format string bits to go with FLOAT_FMT_ARGS. */46 #define FLOAT_FMT_STR "%s%u.%06u"47 /** @def FLOAT_FMT_ARGS48 * Format arguments for a float value, corresponding to FLOAT_FMT_STR.49 * @param r The floating point value to format. */50 #define FLOAT_FMT_ARGS(r) (r) >= 0.0f ? "" : "-", (unsigned)RT_ABS(r), (unsigned)(RT_ABS((r) - (unsigned)(r)) * 1000000.0f)51 42 52 43
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器