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

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

Issue 1261743002: Revert of Lay groundwork for SkOpts. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 4 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 | « gyp/opts.gypi ('k') | src/core/SkOpts.h » ('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 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #include "SkGraphics.h" 10 #include "SkGraphics.h"
11 11
12 #include "SkBlitter.h" 12 #include "SkBlitter.h"
13 #include "SkCanvas.h" 13 #include "SkCanvas.h"
14 #include "SkGeometry.h" 14 #include "SkGeometry.h"
15 #include "SkMath.h" 15 #include "SkMath.h"
16 #include "SkMatrix.h" 16 #include "SkMatrix.h"
17 #include "SkOpts.h"
18 #include "SkPath.h" 17 #include "SkPath.h"
19 #include "SkPathEffect.h" 18 #include "SkPathEffect.h"
20 #include "SkPixelRef.h" 19 #include "SkPixelRef.h"
21 #include "SkRefCnt.h" 20 #include "SkRefCnt.h"
22 #include "SkRTConf.h" 21 #include "SkRTConf.h"
23 #include "SkScalerContext.h" 22 #include "SkScalerContext.h"
24 #include "SkShader.h" 23 #include "SkShader.h"
25 #include "SkStream.h" 24 #include "SkStream.h"
26 #include "SkTSearch.h" 25 #include "SkTSearch.h"
27 #include "SkTime.h" 26 #include "SkTime.h"
(...skipping 16 matching lines...) Expand all
44 43
45 #ifdef BUILD_EMBOSS_TABLE 44 #ifdef BUILD_EMBOSS_TABLE
46 extern void SkEmbossMask_BuildTable(); 45 extern void SkEmbossMask_BuildTable();
47 #endif 46 #endif
48 47
49 #ifdef BUILD_RADIALGRADIENT_TABLE 48 #ifdef BUILD_RADIALGRADIENT_TABLE
50 extern void SkRadialGradient_BuildTable(); 49 extern void SkRadialGradient_BuildTable();
51 #endif 50 #endif
52 51
53 void SkGraphics::Init() { 52 void SkGraphics::Init() {
54 SkOpts::Init();
55 #ifdef SK_DEVELOPER 53 #ifdef SK_DEVELOPER
56 skRTConfRegistry().possiblyDumpFile(); 54 skRTConfRegistry().possiblyDumpFile();
57 skRTConfRegistry().validate(); 55 skRTConfRegistry().validate();
58 if (skRTConfRegistry().hasNonDefault()) { 56 if (skRTConfRegistry().hasNonDefault()) {
59 SkDebugf("Non-default runtime configuration options:\n"); 57 SkDebugf("Non-default runtime configuration options:\n");
60 skRTConfRegistry().printNonDefault(); 58 skRTConfRegistry().printNonDefault();
61 } 59 }
62 #endif 60 #endif
63 61
64 #ifdef BUILD_EMBOSS_TABLE 62 #ifdef BUILD_EMBOSS_TABLE
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 if (nextEqual) { 171 if (nextEqual) {
174 val = (size_t) atoi(nextEqual + 1); 172 val = (size_t) atoi(nextEqual + 1);
175 } 173 }
176 (gFlags[i].fFunc)(val); 174 (gFlags[i].fFunc)(val);
177 break; 175 break;
178 } 176 }
179 } 177 }
180 flags = nextSemi + 1; 178 flags = nextSemi + 1;
181 } while (nextSemi); 179 } while (nextSemi);
182 } 180 }
OLDNEW
« no previous file with comments | « gyp/opts.gypi ('k') | src/core/SkOpts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698