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

Side by Side Diff: src/ports/SkGlobalInitialization_chromium.cpp

Issue 1343703005: SkImageSource (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: review comments Created 5 years, 3 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/effects/SkImageSource.cpp ('k') | src/ports/SkGlobalInitialization_default.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 2011 Google Inc. 2 * Copyright 2011 Google Inc.
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 #include "SkTypes.h" 8 #include "SkTypes.h"
9 9
10 #include "SkBitmapProcShader.h" 10 #include "SkBitmapProcShader.h"
(...skipping 19 matching lines...) Expand all
30 #include "SkComposeShader.h" 30 #include "SkComposeShader.h"
31 #include "SkCornerPathEffect.h" 31 #include "SkCornerPathEffect.h"
32 #include "SkDashPathEffect.h" 32 #include "SkDashPathEffect.h"
33 #include "SkDiscretePathEffect.h" 33 #include "SkDiscretePathEffect.h"
34 #include "SkDisplacementMapEffect.h" 34 #include "SkDisplacementMapEffect.h"
35 #include "SkDropShadowImageFilter.h" 35 #include "SkDropShadowImageFilter.h"
36 #include "SkEmptyShader.h" 36 #include "SkEmptyShader.h"
37 #include "SkEmbossMaskFilter.h" 37 #include "SkEmbossMaskFilter.h"
38 #include "SkFlattenable.h" 38 #include "SkFlattenable.h"
39 #include "SkGradientShader.h" 39 #include "SkGradientShader.h"
40 #include "SkImageSource.h"
40 #include "SkLayerDrawLooper.h" 41 #include "SkLayerDrawLooper.h"
41 #include "SkLayerRasterizer.h" 42 #include "SkLayerRasterizer.h"
42 #include "SkLerpXfermode.h" 43 #include "SkLerpXfermode.h"
43 #include "SkLightingImageFilter.h" 44 #include "SkLightingImageFilter.h"
44 #include "SkLightingShader.h" 45 #include "SkLightingShader.h"
45 #include "SkLocalMatrixShader.h" 46 #include "SkLocalMatrixShader.h"
46 #include "SkLumaColorFilter.h" 47 #include "SkLumaColorFilter.h"
47 #include "SkMagnifierImageFilter.h" 48 #include "SkMagnifierImageFilter.h"
48 #include "SkMatrixConvolutionImageFilter.h" 49 #include "SkMatrixConvolutionImageFilter.h"
49 #include "SkMergeImageFilter.h" 50 #include "SkMergeImageFilter.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposeShader) 95 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposeShader)
95 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkCornerPathEffect) 96 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkCornerPathEffect)
96 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDashPathEffect) 97 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDashPathEffect)
97 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDilateImageFilter) 98 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDilateImageFilter)
98 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDiscretePathEffect) 99 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDiscretePathEffect)
99 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDisplacementMapEffect) 100 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDisplacementMapEffect)
100 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDropShadowImageFilter) 101 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDropShadowImageFilter)
101 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkEmbossMaskFilter) 102 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkEmbossMaskFilter)
102 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkEmptyShader) 103 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkEmptyShader)
103 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkErodeImageFilter) 104 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkErodeImageFilter)
105 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkImageSource)
104 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLayerDrawLooper) 106 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLayerDrawLooper)
105 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLayerRasterizer) 107 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLayerRasterizer)
106 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLerpXfermode) 108 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLerpXfermode)
107 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLocalMatrixShader) 109 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLocalMatrixShader)
108 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLumaColorFilter) 110 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLumaColorFilter)
109 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPath1DPathEffect) 111 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPath1DPathEffect)
110 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLine2DPathEffect) 112 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLine2DPathEffect)
111 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkModeColorFilter) 113 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkModeColorFilter)
112 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPath2DPathEffect) 114 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPath2DPathEffect)
113 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPerlinNoiseShader) 115 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPerlinNoiseShader)
(...skipping 22 matching lines...) Expand all
136 SkLightingShader::InitializeFlattenables(); 138 SkLightingShader::InitializeFlattenables();
137 SkTableColorFilter::InitializeFlattenables(); 139 SkTableColorFilter::InitializeFlattenables();
138 SkXfermode::InitializeFlattenables(); 140 SkXfermode::InitializeFlattenables();
139 } 141 }
140 }; 142 };
141 143
142 SK_DECLARE_STATIC_ONCE(once); 144 SK_DECLARE_STATIC_ONCE(once);
143 void SkFlattenable::InitializeFlattenablesIfNeeded() { 145 void SkFlattenable::InitializeFlattenablesIfNeeded() {
144 SkOnce(&once, SkPrivateEffectInitializer::Init); 146 SkOnce(&once, SkPrivateEffectInitializer::Init);
145 } 147 }
OLDNEW
« no previous file with comments | « src/effects/SkImageSource.cpp ('k') | src/ports/SkGlobalInitialization_default.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698