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

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

Issue 1109863004: Use GLSLCaps for creating processor keys and GLSL-specific programs (Closed) Base URL: https://chromium.googlesource.com/skia@master
Patch Set: Created 5 years, 8 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 | « gm/dcshader.cpp ('k') | include/gpu/GrFragmentProcessor.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 /*
2 * Copyright 2015 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
1 7
2 #ifndef SkTableColorFilter_DEFINED 8 #ifndef SkTableColorFilter_DEFINED
3 #define SkTableColorFilter_DEFINED 9 #define SkTableColorFilter_DEFINED
4 10
5 #include "SkColorFilter.h" 11 #include "SkColorFilter.h"
6 12
7 class SK_API SkTableColorFilter { 13 class SK_API SkTableColorFilter {
8 public: 14 public:
9 /** 15 /**
10 * Create a table colorfilter, copying the table into the filter, and 16 * Create a table colorfilter, copying the table into the filter, and
(...skipping 16 matching lines...) Expand all
27 */ 33 */
28 static SkColorFilter* CreateARGB(const uint8_t tableA[256], 34 static SkColorFilter* CreateARGB(const uint8_t tableA[256],
29 const uint8_t tableR[256], 35 const uint8_t tableR[256],
30 const uint8_t tableG[256], 36 const uint8_t tableG[256],
31 const uint8_t tableB[256]); 37 const uint8_t tableB[256]);
32 38
33 SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP() 39 SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP()
34 }; 40 };
35 41
36 #endif 42 #endif
OLDNEW
« no previous file with comments | « gm/dcshader.cpp ('k') | include/gpu/GrFragmentProcessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698