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

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

Issue 222923005: Remove SkResizeImageFilter. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « src/ports/SkGlobalInitialization_chromium.cpp ('k') | no next file » | 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "SkMagnifierImageFilter.h" 46 #include "SkMagnifierImageFilter.h"
47 #include "SkMatrixConvolutionImageFilter.h" 47 #include "SkMatrixConvolutionImageFilter.h"
48 #include "SkMergeImageFilter.h" 48 #include "SkMergeImageFilter.h"
49 #include "SkMorphologyImageFilter.h" 49 #include "SkMorphologyImageFilter.h"
50 #include "SkOffsetImageFilter.h" 50 #include "SkOffsetImageFilter.h"
51 #include "SkOnce.h" 51 #include "SkOnce.h"
52 #include "SkPerlinNoiseShader.h" 52 #include "SkPerlinNoiseShader.h"
53 #include "SkPictureImageFilter.h" 53 #include "SkPictureImageFilter.h"
54 #include "SkPixelXorXfermode.h" 54 #include "SkPixelXorXfermode.h"
55 #include "SkRectShaderImageFilter.h" 55 #include "SkRectShaderImageFilter.h"
56 #include "SkResizeImageFilter.h"
57 #include "SkStippleMaskFilter.h" 56 #include "SkStippleMaskFilter.h"
58 #include "SkTableColorFilter.h" 57 #include "SkTableColorFilter.h"
59 #include "SkTestImageFilters.h" 58 #include "SkTestImageFilters.h"
60 #include "SkTileImageFilter.h" 59 #include "SkTileImageFilter.h"
61 #include "SkMatrixImageFilter.h" 60 #include "SkMatrixImageFilter.h"
62 #include "SkXfermodeImageFilter.h" 61 #include "SkXfermodeImageFilter.h"
63 62
64 static void InitializeFlattenables(int*) { 63 static void InitializeFlattenables(int*) {
65 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkAvoidXfermode) 64 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkAvoidXfermode)
66 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBicubicImageFilter) 65 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBicubicImageFilter)
(...skipping 19 matching lines...) Expand all
86 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLerpXfermode) 85 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLerpXfermode)
87 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLumaColorFilter) 86 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLumaColorFilter)
88 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPath1DPathEffect) 87 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPath1DPathEffect)
89 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(Sk2DPathEffect) 88 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(Sk2DPathEffect)
90 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLine2DPathEffect) 89 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLine2DPathEffect)
91 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPath2DPathEffect) 90 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPath2DPathEffect)
92 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPerlinNoiseShader) 91 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPerlinNoiseShader)
93 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPictureImageFilter) 92 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPictureImageFilter)
94 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPixelXorXfermode) 93 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPixelXorXfermode)
95 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkRectShaderImageFilter) 94 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkRectShaderImageFilter)
96 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkResizeImageFilter)
97 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkStippleMaskFilter) 95 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkStippleMaskFilter)
98 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkSumPathEffect) 96 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkSumPathEffect)
99 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkTileImageFilter) 97 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkTileImageFilter)
100 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMatrixImageFilter) 98 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMatrixImageFilter)
101 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkXfermodeImageFilter) 99 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkXfermodeImageFilter)
102 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMagnifierImageFilter) 100 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMagnifierImageFilter)
103 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMatrixConvolutionImageFilter) 101 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMatrixConvolutionImageFilter)
104 102
105 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkOffsetImageFilter) 103 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkOffsetImageFilter)
106 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposeImageFilter) 104 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposeImageFilter)
(...skipping 10 matching lines...) Expand all
117 SkLightingImageFilter::InitializeFlattenables(); 115 SkLightingImageFilter::InitializeFlattenables();
118 SkTableColorFilter::InitializeFlattenables(); 116 SkTableColorFilter::InitializeFlattenables();
119 SkXfermode::InitializeFlattenables(); 117 SkXfermode::InitializeFlattenables();
120 } 118 }
121 119
122 void SkFlattenable::InitializeFlattenablesIfNeeded() { 120 void SkFlattenable::InitializeFlattenablesIfNeeded() {
123 int dummy; 121 int dummy;
124 SK_DECLARE_STATIC_ONCE(once); 122 SK_DECLARE_STATIC_ONCE(once);
125 SkOnce(&once, InitializeFlattenables, &dummy); 123 SkOnce(&once, InitializeFlattenables, &dummy);
126 } 124 }
OLDNEW
« no previous file with comments | « src/ports/SkGlobalInitialization_chromium.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698