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

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

Issue 2101653002: Revert of Refactoring of CPU NormalMap handling out into its own class (Closed) Base URL: https://skia.googlesource.com/skia@dvonbeck-normals-gpu-cl
Patch Set: Created 4 years, 5 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/core/SkNormalSource.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 "Sk1DPathEffect.h" 8 #include "Sk1DPathEffect.h"
9 #include "Sk2DPathEffect.h" 9 #include "Sk2DPathEffect.h"
10 #include "SkAlphaThresholdFilter.h" 10 #include "SkAlphaThresholdFilter.h"
(...skipping 18 matching lines...) Expand all
29 #include "SkLayerDrawLooper.h" 29 #include "SkLayerDrawLooper.h"
30 #include "SkLayerRasterizer.h" 30 #include "SkLayerRasterizer.h"
31 #include "SkLightingImageFilter.h" 31 #include "SkLightingImageFilter.h"
32 #include "SkLightingShader.h" 32 #include "SkLightingShader.h"
33 #include "SkLocalMatrixImageFilter.h" 33 #include "SkLocalMatrixImageFilter.h"
34 #include "SkLumaColorFilter.h" 34 #include "SkLumaColorFilter.h"
35 #include "SkMagnifierImageFilter.h" 35 #include "SkMagnifierImageFilter.h"
36 #include "SkMatrixConvolutionImageFilter.h" 36 #include "SkMatrixConvolutionImageFilter.h"
37 #include "SkMergeImageFilter.h" 37 #include "SkMergeImageFilter.h"
38 #include "SkMorphologyImageFilter.h" 38 #include "SkMorphologyImageFilter.h"
39 #include "SkNormalSource.h"
40 #include "SkOffsetImageFilter.h" 39 #include "SkOffsetImageFilter.h"
41 #include "SkPaintImageFilter.h" 40 #include "SkPaintImageFilter.h"
42 #include "SkPerlinNoiseShader.h" 41 #include "SkPerlinNoiseShader.h"
43 #include "SkPictureImageFilter.h" 42 #include "SkPictureImageFilter.h"
44 #include "SkTableColorFilter.h" 43 #include "SkTableColorFilter.h"
45 #include "SkTileImageFilter.h" 44 #include "SkTileImageFilter.h"
46 #include "SkXfermodeImageFilter.h" 45 #include "SkXfermodeImageFilter.h"
47 46
48 // Security note: 47 // Security note:
49 // 48 //
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorMatrixFilterRowMajor255) 80 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorMatrixFilterRowMajor255)
82 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLumaColorFilter) 81 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLumaColorFilter)
83 SkAlphaThresholdFilter::InitializeFlattenables(); 82 SkAlphaThresholdFilter::InitializeFlattenables();
84 SkArithmeticMode::InitializeFlattenables(); 83 SkArithmeticMode::InitializeFlattenables();
85 SkTableColorFilter::InitializeFlattenables(); 84 SkTableColorFilter::InitializeFlattenables();
86 85
87 // Shader 86 // Shader
88 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPerlinNoiseShader) 87 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPerlinNoiseShader)
89 SkGradientShader::InitializeFlattenables(); 88 SkGradientShader::InitializeFlattenables();
90 SkLightingShader::InitializeFlattenables(); 89 SkLightingShader::InitializeFlattenables();
91 SkNormalSource::InitializeFlattenables(); 90 SkLightingShader::NormalSource::InitializeFlattenables();
92 91
93 92
94 // PathEffect 93 // PathEffect
95 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkArcToPathEffect) 94 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkArcToPathEffect)
96 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkCornerPathEffect) 95 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkCornerPathEffect)
97 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDashPathEffect) 96 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDashPathEffect)
98 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDiscretePathEffect) 97 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDiscretePathEffect)
99 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPath1DPathEffect) 98 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPath1DPathEffect)
100 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLine2DPathEffect) 99 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLine2DPathEffect)
101 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPath2DPathEffect) 100 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPath2DPathEffect)
(...skipping 12 matching lines...) Expand all
114 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkTileImageFilter) 113 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkTileImageFilter)
115 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkXfermodeImageFilter) 114 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkXfermodeImageFilter)
116 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMagnifierImageFilter) 115 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMagnifierImageFilter)
117 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMatrixConvolutionImageFilter) 116 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMatrixConvolutionImageFilter)
118 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkOffsetImageFilter) 117 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkOffsetImageFilter)
119 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposeImageFilter) 118 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposeImageFilter)
120 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMergeImageFilter) 119 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMergeImageFilter)
121 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorFilterImageFilter) 120 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorFilterImageFilter)
122 SkLightingImageFilter::InitializeFlattenables(); 121 SkLightingImageFilter::InitializeFlattenables();
123 } 122 }
OLDNEW
« no previous file with comments | « src/core/SkNormalSource.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698