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

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

Issue 16064002: Provide a GPU implementation of SkArithmeticMode (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Don't attempt to write to inputColor. Created 7 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/effects/SkArithmeticMode.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 "SkAvoidXfermode.h" 20 #include "SkAvoidXfermode.h"
20 #include "SkBicubicImageFilter.h" 21 #include "SkBicubicImageFilter.h"
21 #include "SkBitmapSource.h" 22 #include "SkBitmapSource.h"
22 #include "SkBlendImageFilter.h" 23 #include "SkBlendImageFilter.h"
23 #include "SkBlurDrawLooper.h" 24 #include "SkBlurDrawLooper.h"
24 #include "SkBlurImageFilter.h" 25 #include "SkBlurImageFilter.h"
25 #include "SkBlurMaskFilter.h" 26 #include "SkBlurMaskFilter.h"
26 #include "SkColorFilter.h" 27 #include "SkColorFilter.h"
27 #include "SkColorFilterImageFilter.h" 28 #include "SkColorFilterImageFilter.h"
28 #include "SkColorMatrixFilter.h" 29 #include "SkColorMatrixFilter.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMagnifierImageFilter) 95 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMagnifierImageFilter)
95 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMatrixConvolutionImageFilter) 96 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMatrixConvolutionImageFilter)
96 97
97 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkOffsetImageFilter) 98 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkOffsetImageFilter)
98 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposeImageFilter) 99 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposeImageFilter)
99 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMergeImageFilter) 100 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMergeImageFilter)
100 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorFilterImageFilter) 101 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorFilterImageFilter)
101 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDownSampleImageFilter) 102 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDownSampleImageFilter)
102 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMallocPixelRef) 103 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMallocPixelRef)
103 104
105 SkArithmeticMode::InitializeFlattenables();
104 SkBlurMaskFilter::InitializeFlattenables(); 106 SkBlurMaskFilter::InitializeFlattenables();
105 SkColorFilter::InitializeFlattenables(); 107 SkColorFilter::InitializeFlattenables();
106 SkGradientShader::InitializeFlattenables(); 108 SkGradientShader::InitializeFlattenables();
107 SkImages::InitializeFlattenables(); 109 SkImages::InitializeFlattenables();
108 SkLightingImageFilter::InitializeFlattenables(); 110 SkLightingImageFilter::InitializeFlattenables();
109 SkTableColorFilter::InitializeFlattenables(); 111 SkTableColorFilter::InitializeFlattenables();
110 SkXfermode::InitializeFlattenables(); 112 SkXfermode::InitializeFlattenables();
111 } 113 }
OLDNEW
« no previous file with comments | « src/effects/SkArithmeticMode.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698