aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2016-07-27 08:03:57 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-27 08:03:57 -0700
commit735109c24892a95290974c9665527b57b01e5440 (patch)
tree9af8307d3bf071ca638d0624365701ab661b184a /include
parentc043324e56a24bbb46aedbfa56fb04c54f52c850 (diff)
Add gyp define to enable vulkan debug layers
On Debug vulkan bots, running with the debug layers on seems to be adding more than an hour to the total running time. Since we suppress any output on the bots anyways the debug layers are serving no purpose. Thus I am adding a gyp define to disable the layers on the bot. With this change, by default when running vulkan in Debug, the debug_layers will be enabled. The bots should disable the layers. Android framework should also have them disabled by default. TBR=djsollen@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2185953003 Review-Url: https://codereview.chromium.org/2185953003
Diffstat (limited to 'include')
-rw-r--r--include/gpu/vk/GrVkBackendContext.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/gpu/vk/GrVkBackendContext.h b/include/gpu/vk/GrVkBackendContext.h
index 608df83f48..9942016927 100644
--- a/include/gpu/vk/GrVkBackendContext.h
+++ b/include/gpu/vk/GrVkBackendContext.h
@@ -12,10 +12,6 @@
#include "vk/GrVkDefines.h"
-#ifdef SK_DEBUG
-#define ENABLE_VK_LAYERS
-#endif
-
struct GrVkInterface;
enum GrVkExtensionFlags {