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

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

Issue 27392002: Remove SkColorTable from SkFlattenable hierarchy. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: reupload Created 7 years, 2 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/core/SkMallocPixelRef.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"
11 #include "SkMallocPixelRef.h" 11 #include "SkMallocPixelRef.h"
12 #include "SkPathEffect.h" 12 #include "SkPathEffect.h"
13 #include "SkPixelRef.h" 13 #include "SkPixelRef.h"
14 #include "SkXfermode.h" 14 #include "SkXfermode.h"
15 15
16 #include "Sk1DPathEffect.h" 16 #include "Sk1DPathEffect.h"
17 #include "Sk2DPathEffect.h" 17 #include "Sk2DPathEffect.h"
18 #include "SkAnnotation.h" 18 #include "SkAnnotation.h"
19 #include "SkArithmeticMode.h" 19 #include "SkArithmeticMode.h"
20 #include "SkAvoidXfermode.h" 20 #include "SkAvoidXfermode.h"
21 #include "SkBicubicImageFilter.h" 21 #include "SkBicubicImageFilter.h"
22 #include "SkBitmapSource.h" 22 #include "SkBitmapSource.h"
23 #include "SkBlurDrawLooper.h" 23 #include "SkBlurDrawLooper.h"
24 #include "SkBlurImageFilter.h" 24 #include "SkBlurImageFilter.h"
25 #include "SkBlurMaskFilter.h" 25 #include "SkBlurMaskFilter.h"
26 #include "SkColorFilter.h" 26 #include "SkColorFilter.h"
27 #include "SkColorFilterImageFilter.h" 27 #include "SkColorFilterImageFilter.h"
28 #include "SkColorMatrixFilter.h" 28 #include "SkColorMatrixFilter.h"
29 #include "SkColorShader.h" 29 #include "SkColorShader.h"
30 #include "SkColorTable.h"
31 #include "SkComposeImageFilter.h" 30 #include "SkComposeImageFilter.h"
32 #include "SkComposeShader.h" 31 #include "SkComposeShader.h"
33 #include "SkCornerPathEffect.h" 32 #include "SkCornerPathEffect.h"
34 #include "SkDashPathEffect.h" 33 #include "SkDashPathEffect.h"
35 #include "SkData.h" 34 #include "SkData.h"
36 #include "SkDiscretePathEffect.h" 35 #include "SkDiscretePathEffect.h"
37 #include "SkDisplacementMapEffect.h" 36 #include "SkDisplacementMapEffect.h"
38 #include "SkDropShadowImageFilter.h" 37 #include "SkDropShadowImageFilter.h"
39 #include "SkEmptyShader.h" 38 #include "SkEmptyShader.h"
40 #include "SkEmbossMaskFilter.h" 39 #include "SkEmbossMaskFilter.h"
(...skipping 22 matching lines...) Expand all
63 void SkFlattenable::InitializeFlattenables() { 62 void SkFlattenable::InitializeFlattenables() {
64 63
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)
67 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBitmapProcShader) 66 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBitmapProcShader)
68 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBitmapSource) 67 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBitmapSource)
69 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBlurDrawLooper) 68 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBlurDrawLooper)
70 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBlurImageFilter) 69 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBlurImageFilter)
71 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorMatrixFilter) 70 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorMatrixFilter)
72 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorShader) 71 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorShader)
73 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorTable)
74 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposePathEffect) 72 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposePathEffect)
75 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposeShader) 73 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposeShader)
76 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkCornerPathEffect) 74 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkCornerPathEffect)
77 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDashPathEffect) 75 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDashPathEffect)
78 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDilateImageFilter) 76 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDilateImageFilter)
79 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDiscretePathEffect) 77 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDiscretePathEffect)
80 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDisplacementMapEffect) 78 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDisplacementMapEffect)
81 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDropShadowImageFilter) 79 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDropShadowImageFilter)
82 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkEmbossMaskFilter) 80 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkEmbossMaskFilter)
83 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkEmptyShader) 81 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkEmptyShader)
(...skipping 25 matching lines...) Expand all
109 107
110 SkArithmeticMode::InitializeFlattenables(); 108 SkArithmeticMode::InitializeFlattenables();
111 SkBlurMaskFilter::InitializeFlattenables(); 109 SkBlurMaskFilter::InitializeFlattenables();
112 SkColorFilter::InitializeFlattenables(); 110 SkColorFilter::InitializeFlattenables();
113 SkGradientShader::InitializeFlattenables(); 111 SkGradientShader::InitializeFlattenables();
114 SkImages::InitializeFlattenables(); 112 SkImages::InitializeFlattenables();
115 SkLightingImageFilter::InitializeFlattenables(); 113 SkLightingImageFilter::InitializeFlattenables();
116 SkTableColorFilter::InitializeFlattenables(); 114 SkTableColorFilter::InitializeFlattenables();
117 SkXfermode::InitializeFlattenables(); 115 SkXfermode::InitializeFlattenables();
118 } 116 }
OLDNEW
« no previous file with comments | « src/core/SkMallocPixelRef.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698