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

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

Issue 755363002: remove proc key (Closed) Base URL: https://skia.googlesource.com/skia.git@fixkey
Patch Set: address nit 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
« no previous file with comments | « src/gpu/gl/GrGLGeometryProcessor.h ('k') | src/gpu/gl/builders/GrGLProgramBuilder.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 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 TODO: Better system for communicating optimization i nfo (e.g. input 109 TODO: Better system for communicating optimization i nfo (e.g. input
110 color is solid white, trans black, known to be opaqu e, etc.) that allows 110 color is solid white, trans black, known to be opaqu e, etc.) that allows
111 the effect to communicate back similar known info ab out its output. 111 the effect to communicate back similar known info ab out its output.
112 @param samplers Contains one entry for each GrTextureAccess of the G rProcessor. These 112 @param samplers Contains one entry for each GrTextureAccess of the G rProcessor. These
113 can be passed to the builder to emit texture reads i n the generated 113 can be passed to the builder to emit texture reads i n the generated
114 code. 114 code.
115 TODO this should take a struct 115 TODO this should take a struct
116 */ 116 */
117 virtual void emitCode(GrGLFPBuilder* builder, 117 virtual void emitCode(GrGLFPBuilder* builder,
118 const GrFragmentProcessor& effect, 118 const GrFragmentProcessor& effect,
119 const GrProcessorKey& key,
120 const char* outputColor, 119 const char* outputColor,
121 const char* inputColor, 120 const char* inputColor,
122 const TransformedCoordsArray& coords, 121 const TransformedCoordsArray& coords,
123 const TextureSamplerArray& samplers) = 0; 122 const TextureSamplerArray& samplers) = 0;
124 123
125 private: 124 private:
126 typedef GrGLProcessor INHERITED; 125 typedef GrGLProcessor INHERITED;
127 }; 126 };
128 127
129 #endif 128 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLGeometryProcessor.h ('k') | src/gpu/gl/builders/GrGLProgramBuilder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698