Index: src/gpu/gl/GrGLGpuProgramCache.cpp |
diff --git a/src/gpu/gl/GrGLGpuProgramCache.cpp b/src/gpu/gl/GrGLGpuProgramCache.cpp |
index ae93926c79283c93f3c4f6000e4381199fd59fa6..4ba0d23ae5fb6d9b0957f5cb30529f155c01a884 100644 |
--- a/src/gpu/gl/GrGLGpuProgramCache.cpp |
+++ b/src/gpu/gl/GrGLGpuProgramCache.cpp |
@@ -13,11 +13,12 @@ |
#include "glsl/GrGLSLFragmentProcessor.h" |
#include "glsl/GrGLSLProgramDataManager.h" |
#include "glsl/GrGLSLProgramDesc.h" |
+#include "SkRTConf.h" |
#include "SkTSearch.h" |
#ifdef PROGRAM_CACHE_STATS |
-// Display program cache usage |
-static const bool c_DisplayCache{false}; |
+SK_CONF_DECLARE(bool, c_DisplayCache, "gpu.displayCache", false, |
+ "Display program cache usage."); |
#endif |
typedef GrGLSLProgramDataManager::UniformHandle UniformHandle; |