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

Side by Side Diff: src/gpu/gl/GrGLProcessor.h

Issue 751283002: Add XferProcessor factory in GrPaint and GrDrawState. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Update gyp Created 6 years 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
OLDNEW
1 /* 1 /*
2 * Copyright 2012 Google Inc. 2 * Copyright 2012 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 GrGLProcessor_DEFINED 8 #ifndef GrGLProcessor_DEFINED
9 #define GrGLProcessor_DEFINED 9 #define GrGLProcessor_DEFINED
10 10
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 const GrProcessorKey& key, 119 const GrProcessorKey& key,
120 const char* outputColor, 120 const char* outputColor,
121 const char* inputColor, 121 const char* inputColor,
122 const TransformedCoordsArray& coords, 122 const TransformedCoordsArray& coords,
123 const TextureSamplerArray& samplers) = 0; 123 const TextureSamplerArray& samplers) = 0;
124 124
125 private: 125 private:
126 typedef GrGLProcessor INHERITED; 126 typedef GrGLProcessor INHERITED;
127 }; 127 };
128 128
129 class GrGLXferProcessor : public GrGLFragmentProcessor {
130 public:
131 GrGLXferProcessor(const GrBackendProcessorFactory& factory)
132 : INHERITED(factory) {
133 }
134
135 virtual ~GrGLXferProcessor() {}
136
137 private:
138 typedef GrGLFragmentProcessor INHERITED;
139 };
140
129 #endif 141 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698