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

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

Issue 100183002: Remove SkImageRef and related functionality. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: REBASED Created 6 years, 6 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/images/SkImages.cpp ('k') | src/ports/SkGlobalInitialization_default.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 "SkTypes.h" 8 #include "SkTypes.h"
9 9
10 #include "SkBitmapProcShader.h" 10 #include "SkBitmapProcShader.h"
(...skipping 19 matching lines...) Expand all
30 #include "SkComposeShader.h" 30 #include "SkComposeShader.h"
31 #include "SkCornerPathEffect.h" 31 #include "SkCornerPathEffect.h"
32 #include "SkDashPathEffect.h" 32 #include "SkDashPathEffect.h"
33 #include "SkDiscretePathEffect.h" 33 #include "SkDiscretePathEffect.h"
34 #include "SkDisplacementMapEffect.h" 34 #include "SkDisplacementMapEffect.h"
35 #include "SkDropShadowImageFilter.h" 35 #include "SkDropShadowImageFilter.h"
36 #include "SkEmptyShader.h" 36 #include "SkEmptyShader.h"
37 #include "SkEmbossMaskFilter.h" 37 #include "SkEmbossMaskFilter.h"
38 #include "SkFlattenable.h" 38 #include "SkFlattenable.h"
39 #include "SkGradientShader.h" 39 #include "SkGradientShader.h"
40 #include "SkImages.h"
41 #include "SkLayerDrawLooper.h" 40 #include "SkLayerDrawLooper.h"
42 #include "SkLayerRasterizer.h" 41 #include "SkLayerRasterizer.h"
43 #include "SkLerpXfermode.h" 42 #include "SkLerpXfermode.h"
44 #include "SkLightingImageFilter.h" 43 #include "SkLightingImageFilter.h"
45 #include "SkLocalMatrixShader.h" 44 #include "SkLocalMatrixShader.h"
46 #include "SkLumaColorFilter.h" 45 #include "SkLumaColorFilter.h"
47 #include "SkMagnifierImageFilter.h" 46 #include "SkMagnifierImageFilter.h"
48 #include "SkMatrixConvolutionImageFilter.h" 47 #include "SkMatrixConvolutionImageFilter.h"
49 #include "SkMergeImageFilter.h" 48 #include "SkMergeImageFilter.h"
50 #include "SkMorphologyImageFilter.h" 49 #include "SkMorphologyImageFilter.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposeImageFilter) 107 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposeImageFilter)
109 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMergeImageFilter) 108 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMergeImageFilter)
110 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorFilterImageFilter) 109 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorFilterImageFilter)
111 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDownSampleImageFilter) 110 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDownSampleImageFilter)
112 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMallocPixelRef) 111 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMallocPixelRef)
113 112
114 SkArithmeticMode::InitializeFlattenables(); 113 SkArithmeticMode::InitializeFlattenables();
115 SkBlurMaskFilter::InitializeFlattenables(); 114 SkBlurMaskFilter::InitializeFlattenables();
116 SkColorFilter::InitializeFlattenables(); 115 SkColorFilter::InitializeFlattenables();
117 SkGradientShader::InitializeFlattenables(); 116 SkGradientShader::InitializeFlattenables();
118 SkImages::InitializeFlattenables();
119 SkLightingImageFilter::InitializeFlattenables(); 117 SkLightingImageFilter::InitializeFlattenables();
120 SkTableColorFilter::InitializeFlattenables(); 118 SkTableColorFilter::InitializeFlattenables();
121 SkXfermode::InitializeFlattenables(); 119 SkXfermode::InitializeFlattenables();
122 } 120 }
123 121
124 void SkFlattenable::InitializeFlattenablesIfNeeded() { 122 void SkFlattenable::InitializeFlattenablesIfNeeded() {
125 SK_DECLARE_STATIC_ONCE(once); 123 SK_DECLARE_STATIC_ONCE(once);
126 SkOnce(&once, InitializeFlattenables); 124 SkOnce(&once, InitializeFlattenables);
127 } 125 }
OLDNEW
« no previous file with comments | « src/images/SkImages.cpp ('k') | src/ports/SkGlobalInitialization_default.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698