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

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

Issue 1363913002: Remove SkBitmapSource (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: immutable bitmap Created 5 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
« no previous file with comments | « src/ports/SkGlobalInitialization_chromium.cpp ('k') | src/utils/SkBitmapSourceDeserializer.h » ('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 "SkBitmapProcShader.h" 8 #include "SkBitmapProcShader.h"
9 #include "SkPathEffect.h" 9 #include "SkPathEffect.h"
10 #include "SkXfermode.h" 10 #include "SkXfermode.h"
11 11
12 #include "Sk1DPathEffect.h" 12 #include "Sk1DPathEffect.h"
13 #include "Sk2DPathEffect.h" 13 #include "Sk2DPathEffect.h"
14 #include "SkArithmeticMode.h" 14 #include "SkArithmeticMode.h"
15 #include "SkArcToPathEffect.h" 15 #include "SkArcToPathEffect.h"
16 #include "SkBitmapSource.h" 16 #include "SkBitmapSourceDeserializer.h"
17 #include "SkBlurDrawLooper.h" 17 #include "SkBlurDrawLooper.h"
18 #include "SkBlurImageFilter.h" 18 #include "SkBlurImageFilter.h"
19 #include "SkBlurMaskFilter.h" 19 #include "SkBlurMaskFilter.h"
20 #include "SkColorCubeFilter.h" 20 #include "SkColorCubeFilter.h"
21 #include "SkColorFilter.h" 21 #include "SkColorFilter.h"
22 #include "SkColorFilterImageFilter.h" 22 #include "SkColorFilterImageFilter.h"
23 #include "SkColorMatrixFilter.h" 23 #include "SkColorMatrixFilter.h"
24 #include "SkColorShader.h" 24 #include "SkColorShader.h"
25 #include "SkComposeImageFilter.h" 25 #include "SkComposeImageFilter.h"
26 #include "SkComposeShader.h" 26 #include "SkComposeShader.h"
(...skipping 30 matching lines...) Expand all
57 #include "SkTestImageFilters.h" 57 #include "SkTestImageFilters.h"
58 #include "SkTileImageFilter.h" 58 #include "SkTileImageFilter.h"
59 #include "SkMatrixImageFilter.h" 59 #include "SkMatrixImageFilter.h"
60 #include "SkXfermodeImageFilter.h" 60 #include "SkXfermodeImageFilter.h"
61 61
62 class SkPrivateEffectInitializer { 62 class SkPrivateEffectInitializer {
63 public: 63 public:
64 static void Init() { 64 static void Init() {
65 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkArcToPathEffect) 65 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkArcToPathEffect)
66 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBitmapProcShader) 66 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBitmapProcShader)
67 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBitmapSource) 67 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBitmapSourceDeserializer)
68 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBlurDrawLooper) 68 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBlurDrawLooper)
69 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBlurImageFilter) 69 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBlurImageFilter)
70 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorCubeFilter) 70 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorCubeFilter)
71 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorMatrixFilter) 71 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorMatrixFilter)
72 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorShader) 72 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorShader)
73 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposePathEffect) 73 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposePathEffect)
74 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposeShader) 74 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposeShader)
75 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkCornerPathEffect) 75 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkCornerPathEffect)
76 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDashPathEffect) 76 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDashPathEffect)
77 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDilateImageFilter) 77 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDilateImageFilter)
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 SkLightingShader::InitializeFlattenables(); 117 SkLightingShader::InitializeFlattenables();
118 SkTableColorFilter::InitializeFlattenables(); 118 SkTableColorFilter::InitializeFlattenables();
119 SkXfermode::InitializeFlattenables(); 119 SkXfermode::InitializeFlattenables();
120 } 120 }
121 }; 121 };
122 122
123 SK_DECLARE_STATIC_ONCE(once); 123 SK_DECLARE_STATIC_ONCE(once);
124 void SkFlattenable::InitializeFlattenablesIfNeeded() { 124 void SkFlattenable::InitializeFlattenablesIfNeeded() {
125 SkOnce(&once, SkPrivateEffectInitializer::Init); 125 SkOnce(&once, SkPrivateEffectInitializer::Init);
126 } 126 }
OLDNEW
« no previous file with comments | « src/ports/SkGlobalInitialization_chromium.cpp ('k') | src/utils/SkBitmapSourceDeserializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698