Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2021-01-29 16:17:49 +0300
committerJulian Eisel <julian@blender.org>2021-01-29 16:17:49 +0300
commitbc94036a76b63254181788ce5814fb946f52a287 (patch)
tree954039e024d4e3ed66dbf71c81073682a043749d /source/blender/blenkernel/BKE_global.h
parent75e8e01124082cf6d5dedcf6b8cab4e3ee31030e (diff)
GPU: Remove unused GPU debugging command line options
Removes two unused --debug-gpu command line flags (unused as in, does nothing): * `--debug-gpumem`: Unused since c08d84748804, the info is now available in the status-bar if enabled in the Preferences. Initially added in fec317de8d57. * `--debug-gpu-shaders`: Unused since 216d78687d2b, double checked with Clément, he says it's not that useful nowadays. Initially added in fec317de8d57. Addresses T83954 and T83953. Differential Revision: https://developer.blender.org/D10244 Reviewed by: Clément Foucault
Diffstat (limited to 'source/blender/blenkernel/BKE_global.h')
-rw-r--r--source/blender/blenkernel/BKE_global.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/source/blender/blenkernel/BKE_global.h b/source/blender/blenkernel/BKE_global.h
index 5e16c9c979c..aed97d4708f 100644
--- a/source/blender/blenkernel/BKE_global.h
+++ b/source/blender/blenkernel/BKE_global.h
@@ -147,21 +147,18 @@ enum {
G_DEBUG_DEPSGRAPH = (G_DEBUG_DEPSGRAPH_BUILD | G_DEBUG_DEPSGRAPH_EVAL | G_DEBUG_DEPSGRAPH_TAG |
G_DEBUG_DEPSGRAPH_TIME | G_DEBUG_DEPSGRAPH_UUID),
G_DEBUG_SIMDATA = (1 << 15), /* sim debug data display */
- G_DEBUG_GPU_MEM = (1 << 16), /* gpu memory in status bar */
- G_DEBUG_GPU = (1 << 17), /* gpu debug */
- G_DEBUG_IO = (1 << 18), /* IO Debugging (for Collada, ...)*/
- G_DEBUG_GPU_SHADERS = (1 << 19), /* GLSL shaders */
- G_DEBUG_GPU_FORCE_WORKAROUNDS = (1 << 20), /* force gpu workarounds bypassing detections. */
- G_DEBUG_XR = (1 << 21), /* XR/OpenXR messages */
- G_DEBUG_XR_TIME = (1 << 22), /* XR/OpenXR timing messages */
-
- G_DEBUG_GHOST = (1 << 23), /* Debug GHOST module. */
+ G_DEBUG_GPU = (1 << 16), /* gpu debug */
+ G_DEBUG_IO = (1 << 17), /* IO Debugging (for Collada, ...)*/
+ G_DEBUG_GPU_FORCE_WORKAROUNDS = (1 << 18), /* force gpu workarounds bypassing detections. */
+ G_DEBUG_XR = (1 << 19), /* XR/OpenXR messages */
+ G_DEBUG_XR_TIME = (1 << 20), /* XR/OpenXR timing messages */
+
+ G_DEBUG_GHOST = (1 << 21), /* Debug GHOST module. */
};
#define G_DEBUG_ALL \
(G_DEBUG | G_DEBUG_FFMPEG | G_DEBUG_PYTHON | G_DEBUG_EVENTS | G_DEBUG_WM | G_DEBUG_JOBS | \
- G_DEBUG_FREESTYLE | G_DEBUG_DEPSGRAPH | G_DEBUG_GPU_MEM | G_DEBUG_IO | G_DEBUG_GPU_SHADERS | \
- G_DEBUG_GHOST)
+ G_DEBUG_FREESTYLE | G_DEBUG_DEPSGRAPH | G_DEBUG_IO | G_DEBUG_GHOST)
/** #Global.fileflags */
enum {