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

Side by Side Diff: include/effects/SkLumaColorFilter.h

Issue 1228683002: rename GrShaderDataManager -> GrProcessorDataManager (Closed) Base URL: https://skia.googlesource.com/skia.git@grfixuptests
Patch Set: rebase onto origin/master Created 5 years, 5 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 | « include/effects/SkColorMatrixFilter.h ('k') | include/effects/SkMagnifierImageFilter.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 2013 Google Inc. 2 * Copyright 2013 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 #ifndef SkLumaColorFilter_DEFINED 8 #ifndef SkLumaColorFilter_DEFINED
9 #define SkLumaColorFilter_DEFINED 9 #define SkLumaColorFilter_DEFINED
10 10
(...skipping 10 matching lines...) Expand all
21 * C' = [ Lum * a, 0, 0, 0 ] 21 * C' = [ Lum * a, 0, 0, 0 ]
22 * 22 *
23 */ 23 */
24 class SK_API SkLumaColorFilter : public SkColorFilter { 24 class SK_API SkLumaColorFilter : public SkColorFilter {
25 public: 25 public:
26 static SkColorFilter* Create(); 26 static SkColorFilter* Create();
27 27
28 void filterSpan(const SkPMColor src[], int count, SkPMColor[]) const overrid e; 28 void filterSpan(const SkPMColor src[], int count, SkPMColor[]) const overrid e;
29 29
30 #if SK_SUPPORT_GPU 30 #if SK_SUPPORT_GPU
31 bool asFragmentProcessors(GrContext*, GrShaderDataManager*, 31 bool asFragmentProcessors(GrContext*, GrProcessorDataManager*,
32 SkTDArray<GrFragmentProcessor*>*) const override; 32 SkTDArray<GrFragmentProcessor*>*) const override;
33 #endif 33 #endif
34 34
35 SK_TO_STRING_OVERRIDE() 35 SK_TO_STRING_OVERRIDE()
36 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkLumaColorFilter) 36 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkLumaColorFilter)
37 37
38 protected: 38 protected:
39 void flatten(SkWriteBuffer&) const override; 39 void flatten(SkWriteBuffer&) const override;
40 40
41 private: 41 private:
42 SkLumaColorFilter(); 42 SkLumaColorFilter();
43 43
44 typedef SkColorFilter INHERITED; 44 typedef SkColorFilter INHERITED;
45 }; 45 };
46 46
47 #endif 47 #endif
OLDNEW
« no previous file with comments | « include/effects/SkColorMatrixFilter.h ('k') | include/effects/SkMagnifierImageFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698