summaryrefslogtreecommitdiffstats
path: root/mkspecs/macx-xcode
diff options
context:
space:
mode:
authorTor Arne Vestbø <torarnv@gmail.com>2019-12-18 00:39:56 +0100
committerTor Arne Vestbø <torarnv@gmail.com>2019-12-18 19:16:09 +0100
commit669a29f5e7f18d021927b9dd56b2fcb1c644baf6 (patch)
tree1309556299a54e58a67a44fb69d6d85993eaa297 /mkspecs/macx-xcode
parent48704c3f5c18c126fc777e5669ccca0d37f9663e (diff)
Xcode: Disable GPU frame capture and Metal API validation by default
The auto-detection Xcode has for whether GPU capture should be enabled always enables it for our projects, which adds up to second to the startup time when debugging. There's no need to pay this cost unless you're actively debugging Metal code. Change-Id: I4a76c4e7afedad4bb43395ae64bc0f8d62eca6be Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'mkspecs/macx-xcode')
-rw-r--r--mkspecs/macx-xcode/default.xcscheme2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkspecs/macx-xcode/default.xcscheme b/mkspecs/macx-xcode/default.xcscheme
index 170174ed2b..355765e964 100644
--- a/mkspecs/macx-xcode/default.xcscheme
+++ b/mkspecs/macx-xcode/default.xcscheme
@@ -64,6 +64,8 @@
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
disableMainThreadChecker = "YES"
+ enableGPUFrameCaptureMode = "3"
+ enableGPUValidationMode = "1"
debugDocumentVersioning = "NO"
allowLocationSimulation = "YES">
<BuildableProductRunnable>