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

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

Issue 25453004: Luminance-to-alpha color filter (SkLumaColorFilter). (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Added test & more docs. 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/effects/SkLumaColorFilter.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 "SkBitmapProcShader.h" 8 #include "SkBitmapProcShader.h"
9 #include "SkBlurImageFilter.h" 9 #include "SkBlurImageFilter.h"
10 #include "SkBlurMaskFilter.h" 10 #include "SkBlurMaskFilter.h"
11 #include "SkColorFilter.h" 11 #include "SkColorFilter.h"
12 #include "SkCornerPathEffect.h" 12 #include "SkCornerPathEffect.h"
13 #include "SkDashPathEffect.h" 13 #include "SkDashPathEffect.h"
14 #include "SkGradientShader.h" 14 #include "SkGradientShader.h"
15 #include "SkLayerDrawLooper.h" 15 #include "SkLayerDrawLooper.h"
16 #include "SkLumaColorFilter.h"
16 #include "SkMallocPixelRef.h" 17 #include "SkMallocPixelRef.h"
17 #include "SkXfermode.h" 18 #include "SkXfermode.h"
18 #include "SkLumaXfermode.h" 19 #include "SkLumaXfermode.h"
19 #include "SkMagnifierImageFilter.h" 20 #include "SkMagnifierImageFilter.h"
20 21
21 void SkFlattenable::InitializeFlattenables() { 22 void SkFlattenable::InitializeFlattenables() {
22 23
23 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBitmapProcShader) 24 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBitmapProcShader)
24 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBlurImageFilter) 25 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBlurImageFilter)
25 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkCornerPathEffect) 26 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkCornerPathEffect)
26 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDashPathEffect) 27 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDashPathEffect)
27 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLayerDrawLooper) 28 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLayerDrawLooper)
29 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLumaColorFilter)
28 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMallocPixelRef) 30 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMallocPixelRef)
29 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMagnifierImageFilter) 31 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMagnifierImageFilter)
30 32
31 SkBlurMaskFilter::InitializeFlattenables(); 33 SkBlurMaskFilter::InitializeFlattenables();
32 SkColorFilter::InitializeFlattenables(); 34 SkColorFilter::InitializeFlattenables();
33 SkGradientShader::InitializeFlattenables(); 35 SkGradientShader::InitializeFlattenables();
34 SkLumaMaskXfermode::InitializeFlattenables(); 36 SkLumaMaskXfermode::InitializeFlattenables();
35 SkXfermode::InitializeFlattenables(); 37 SkXfermode::InitializeFlattenables();
36 } 38 }
OLDNEW
« no previous file with comments | « src/effects/SkLumaColorFilter.cpp ('k') | src/ports/SkGlobalInitialization_default.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698