Changeset 88835 in vbox for trunk/src/VBox
- Timestamp:
- May 3, 2021 1:25:16 PM (4 years ago)
- Location:
- trunk/src/VBox/Devices/Graphics
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.