Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Side by Side Diff: src/core/SkGraphics.cpp

Issue 1918253006: Revert of Repurpose Release_Developer BUILDTYPE and remove SK_DEVELOPER. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/core/SkClipStack.cpp ('k') | src/core/SkResourceCache.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 8
9 #include "SkGraphics.h" 9 #include "SkGraphics.h"
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 if (patch) { 43 if (patch) {
44 *patch = SKIA_VERSION_PATCH; 44 *patch = SKIA_VERSION_PATCH;
45 } 45 }
46 } 46 }
47 47
48 void SkGraphics::Init() { 48 void SkGraphics::Init() {
49 // SkGraphics::Init() must be thread-safe and idempotent. 49 // SkGraphics::Init() must be thread-safe and idempotent.
50 SkCpu::CacheRuntimeFeatures(); 50 SkCpu::CacheRuntimeFeatures();
51 SkOpts::Init(); 51 SkOpts::Init();
52 52
53 #ifdef SK_DEBUG 53 #ifdef SK_DEVELOPER
54 skRTConfRegistry().possiblyDumpFile(); 54 skRTConfRegistry().possiblyDumpFile();
55 skRTConfRegistry().validate(); 55 skRTConfRegistry().validate();
56 if (skRTConfRegistry().hasNonDefault()) { 56 if (skRTConfRegistry().hasNonDefault()) {
57 SkDebugf("Non-default runtime configuration options:\n"); 57 SkDebugf("Non-default runtime configuration options:\n");
58 skRTConfRegistry().printNonDefault(); 58 skRTConfRegistry().printNonDefault();
59 } 59 }
60 #endif 60 #endif
61 } 61 }
62 62
63 /////////////////////////////////////////////////////////////////////////////// 63 ///////////////////////////////////////////////////////////////////////////////
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 if (nextEqual) { 113 if (nextEqual) {
114 val = (size_t) atoi(nextEqual + 1); 114 val = (size_t) atoi(nextEqual + 1);
115 } 115 }
116 (gFlags[i].fFunc)(val); 116 (gFlags[i].fFunc)(val);
117 break; 117 break;
118 } 118 }
119 } 119 }
120 flags = nextSemi + 1; 120 flags = nextSemi + 1;
121 } while (nextSemi); 121 } while (nextSemi);
122 } 122 }
OLDNEW
« no previous file with comments | « src/core/SkClipStack.cpp ('k') | src/core/SkResourceCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698