aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/utils/SkRTConf.h
diff options
context:
space:
mode:
authorGravatar halcanary@google.com <halcanary@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-01-10 15:00:45 +0000
committerGravatar halcanary@google.com <halcanary@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-01-10 15:00:45 +0000
commit2d1adf2322b026ec746dbdd931ca6aac7bb5d4cb (patch)
tree511123d617aa8ef5cc6a52099ef0bff1fe8b6748 /include/utils/SkRTConf.h
parenta9325fa237dde2654bc841c2bb0a05fc3e57696a (diff)
Reduce verbosity of SkGraphics::Init in default case.
SkGraphics::Init() now checks to see if there are any non-default runtime configuration options before announcing that it is about to print out the non-default runtime configuration options. This makes the executables in tools/ less verbose. Add SkRTConfRegistry::countNonDefault() function. BUG= R=mtklein@google.com, reed@google.com Review URL: https://codereview.chromium.org/133583003 git-svn-id: http://skia.googlecode.com/svn/trunk@13017 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/utils/SkRTConf.h')
-rw-r--r--include/utils/SkRTConf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/utils/SkRTConf.h b/include/utils/SkRTConf.h
index 4d7cda23d5..37e3259d68 100644
--- a/include/utils/SkRTConf.h
+++ b/include/utils/SkRTConf.h
@@ -75,6 +75,7 @@ class SkRTConfRegistry {
public:
SkRTConfRegistry();
void printAll(const char *fname = NULL) const;
+ bool hasNonDefault() const;
void printNonDefault(const char *fname = NULL) const;
const char *configFileLocation() const;
void possiblyDumpFile() const;