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

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

Issue 1575233004: Delete SkRectShaderImageFilter (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Created 4 years, 11 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/SkRectShaderImageFilter.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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 #include "SkMatrixConvolutionImageFilter.h" 52 #include "SkMatrixConvolutionImageFilter.h"
53 #include "SkMergeImageFilter.h" 53 #include "SkMergeImageFilter.h"
54 #include "SkMorphologyImageFilter.h" 54 #include "SkMorphologyImageFilter.h"
55 #include "SkOffsetImageFilter.h" 55 #include "SkOffsetImageFilter.h"
56 #include "SkOnce.h" 56 #include "SkOnce.h"
57 #include "SkPaintImageFilter.h" 57 #include "SkPaintImageFilter.h"
58 #include "SkPerlinNoiseShader.h" 58 #include "SkPerlinNoiseShader.h"
59 #include "SkPictureImageFilter.h" 59 #include "SkPictureImageFilter.h"
60 #include "SkPictureShader.h" 60 #include "SkPictureShader.h"
61 #include "SkPixelXorXfermode.h" 61 #include "SkPixelXorXfermode.h"
62 #include "SkRectShaderImageFilter.h"
63 #include "SkTableColorFilter.h" 62 #include "SkTableColorFilter.h"
64 #include "SkTestImageFilters.h" 63 #include "SkTestImageFilters.h"
65 #include "SkTileImageFilter.h" 64 #include "SkTileImageFilter.h"
66 #include "SkMatrixImageFilter.h" 65 #include "SkMatrixImageFilter.h"
67 #include "SkXfermodeImageFilter.h" 66 #include "SkXfermodeImageFilter.h"
68 67
69 // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 68 // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
70 // 69 //
71 // Adding new classes to Init() below has security consequences in Chrome. 70 // Adding new classes to Init() below has security consequences in Chrome.
72 // 71 //
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLocalMatrixShader) 113 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLocalMatrixShader)
115 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLumaColorFilter) 114 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLumaColorFilter)
116 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPath1DPathEffect) 115 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPath1DPathEffect)
117 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLine2DPathEffect) 116 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLine2DPathEffect)
118 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPaintImageFilter) 117 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPaintImageFilter)
119 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPath2DPathEffect) 118 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPath2DPathEffect)
120 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPerlinNoiseShader) 119 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPerlinNoiseShader)
121 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPictureImageFilter) 120 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPictureImageFilter)
122 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPictureShader) 121 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPictureShader)
123 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPixelXorXfermode) 122 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPixelXorXfermode)
124 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkRectShaderImageFilter)
125 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkSumPathEffect) 123 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkSumPathEffect)
126 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkTileImageFilter) 124 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkTileImageFilter)
127 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMatrixImageFilter) 125 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMatrixImageFilter)
128 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkXfermodeImageFilter) 126 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkXfermodeImageFilter)
129 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMagnifierImageFilter) 127 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMagnifierImageFilter)
130 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMatrixConvolutionImageFilter) 128 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMatrixConvolutionImageFilter)
131 129
132 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkOffsetImageFilter) 130 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkOffsetImageFilter)
133 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposeImageFilter) 131 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposeImageFilter)
134 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMergeImageFilter) 132 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMergeImageFilter)
135 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorFilterImageFilter) 133 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorFilterImageFilter)
136 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDownSampleImageFilter) 134 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDownSampleImageFilter)
137 135
138 SkAlphaThresholdFilter::InitializeFlattenables(); 136 SkAlphaThresholdFilter::InitializeFlattenables();
139 SkArithmeticMode::InitializeFlattenables(); 137 SkArithmeticMode::InitializeFlattenables();
140 SkBlurMaskFilter::InitializeFlattenables(); 138 SkBlurMaskFilter::InitializeFlattenables();
141 SkColorFilter::InitializeFlattenables(); 139 SkColorFilter::InitializeFlattenables();
142 SkGradientShader::InitializeFlattenables(); 140 SkGradientShader::InitializeFlattenables();
143 SkLightingImageFilter::InitializeFlattenables(); 141 SkLightingImageFilter::InitializeFlattenables();
144 SkLightingShader::InitializeFlattenables(); 142 SkLightingShader::InitializeFlattenables();
145 SkTableColorFilter::InitializeFlattenables(); 143 SkTableColorFilter::InitializeFlattenables();
146 SkXfermode::InitializeFlattenables(); 144 SkXfermode::InitializeFlattenables();
147 } 145 }
148 }; 146 };
149 147
150 SK_DECLARE_STATIC_ONCE(once); 148 SK_DECLARE_STATIC_ONCE(once);
151 void SkFlattenable::InitializeFlattenablesIfNeeded() { 149 void SkFlattenable::InitializeFlattenablesIfNeeded() {
152 SkOnce(&once, SkPrivateEffectInitializer::Init); 150 SkOnce(&once, SkPrivateEffectInitializer::Init);
153 } 151 }
OLDNEW
« no previous file with comments | « src/effects/SkRectShaderImageFilter.cpp ('k') | src/ports/SkGlobalInitialization_default.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698