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

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

Issue 1648933002: Move SkColorMatrixFilter implementation to core. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: add back newComposed override Created 4 years, 10 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/SkColorMatrixFilter.cpp ('k') | tests/ImageFilterTest.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 "Sk1DPathEffect.h" 8 #include "Sk1DPathEffect.h"
9 #include "Sk2DPathEffect.h" 9 #include "Sk2DPathEffect.h"
10 #include "SkAlphaThresholdFilter.h" 10 #include "SkAlphaThresholdFilter.h"
11 #include "SkArithmeticMode.h" 11 #include "SkArithmeticMode.h"
12 #include "SkArcToPathEffect.h" 12 #include "SkArcToPathEffect.h"
13 #include "SkAvoidXfermode.h" 13 #include "SkAvoidXfermode.h"
14 #include "SkBitmapSourceDeserializer.h" 14 #include "SkBitmapSourceDeserializer.h"
15 #include "SkBlurDrawLooper.h" 15 #include "SkBlurDrawLooper.h"
16 #include "SkBlurImageFilter.h" 16 #include "SkBlurImageFilter.h"
17 #include "SkBlurMaskFilter.h" 17 #include "SkBlurMaskFilter.h"
18 #include "SkColorCubeFilter.h" 18 #include "SkColorCubeFilter.h"
19 #include "SkColorFilterImageFilter.h" 19 #include "SkColorFilterImageFilter.h"
20 #include "SkColorMatrixFilter.h" 20 #include "SkColorMatrixFilterRowMajor255.h"
21 #include "SkComposeImageFilter.h" 21 #include "SkComposeImageFilter.h"
22 #include "SkCornerPathEffect.h" 22 #include "SkCornerPathEffect.h"
23 #include "SkDashPathEffect.h" 23 #include "SkDashPathEffect.h"
24 #include "SkDiscretePathEffect.h" 24 #include "SkDiscretePathEffect.h"
25 #include "SkDisplacementMapEffect.h" 25 #include "SkDisplacementMapEffect.h"
26 #include "SkDropShadowImageFilter.h" 26 #include "SkDropShadowImageFilter.h"
27 #include "SkEmbossMaskFilter.h" 27 #include "SkEmbossMaskFilter.h"
28 #include "SkGradientShader.h" 28 #include "SkGradientShader.h"
29 #include "SkImageSource.h" 29 #include "SkImageSource.h"
30 #include "SkLayerDrawLooper.h" 30 #include "SkLayerDrawLooper.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 // DrawLooper 64 // DrawLooper
65 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBlurDrawLooper) 65 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBlurDrawLooper)
66 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLayerDrawLooper) 66 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLayerDrawLooper)
67 67
68 // Rasterizer 68 // Rasterizer
69 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLayerRasterizer) 69 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLayerRasterizer)
70 70
71 // ColorFilter 71 // ColorFilter
72 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorCubeFilter) 72 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorCubeFilter)
73 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorMatrixFilter) 73 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorMatrixFilterRowMajor255)
74 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLumaColorFilter) 74 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLumaColorFilter)
75 SkAlphaThresholdFilter::InitializeFlattenables(); 75 SkAlphaThresholdFilter::InitializeFlattenables();
76 SkArithmeticMode::InitializeFlattenables(); 76 SkArithmeticMode::InitializeFlattenables();
77 SkTableColorFilter::InitializeFlattenables(); 77 SkTableColorFilter::InitializeFlattenables();
78 78
79 // Shader 79 // Shader
80 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPerlinNoiseShader) 80 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPerlinNoiseShader)
81 SkGradientShader::InitializeFlattenables(); 81 SkGradientShader::InitializeFlattenables();
82 SkLightingShader::InitializeFlattenables(); 82 SkLightingShader::InitializeFlattenables();
83 83
(...skipping 24 matching lines...) Expand all
108 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkXfermodeImageFilter) 108 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkXfermodeImageFilter)
109 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMagnifierImageFilter) 109 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMagnifierImageFilter)
110 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMatrixConvolutionImageFilter) 110 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMatrixConvolutionImageFilter)
111 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkOffsetImageFilter) 111 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkOffsetImageFilter)
112 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposeImageFilter) 112 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposeImageFilter)
113 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMergeImageFilter) 113 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMergeImageFilter)
114 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorFilterImageFilter) 114 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorFilterImageFilter)
115 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDownSampleImageFilter) 115 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDownSampleImageFilter)
116 SkLightingImageFilter::InitializeFlattenables(); 116 SkLightingImageFilter::InitializeFlattenables();
117 } 117 }
OLDNEW
« no previous file with comments | « src/effects/SkColorMatrixFilter.cpp ('k') | tests/ImageFilterTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698