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

Side by Side Diff: src/gpu/glsl/GrGLSLFragmentShaderBuilder.h

Issue 1535603006: Move some program building utils from GL to GLSL (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix build Created 4 years, 11 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 | « src/gpu/glsl/GrGLSLCaps.h ('k') | src/gpu/glsl/GrGLSLProgramBuilder.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 2014 Google Inc. 2 * Copyright 2014 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 GrGLSLFragmentShaderBuilder_DEFINED 8 #ifndef GrGLSLFragmentShaderBuilder_DEFINED
9 #define GrGLSLFragmentShaderBuilder_DEFINED 9 #define GrGLSLFragmentShaderBuilder_DEFINED
10 10
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 bool fSetupFragPosition; 188 bool fSetupFragPosition;
189 bool fTopLeftFragPosRead; 189 bool fTopLeftFragPosRead;
190 int fCustomColorOutputIndex; 190 int fCustomColorOutputIndex;
191 191
192 // some state to verify shaders and effects are consistent, this is reset be tween effects by 192 // some state to verify shaders and effects are consistent, this is reset be tween effects by
193 // the program creator 193 // the program creator
194 bool fHasReadDstColor; 194 bool fHasReadDstColor;
195 bool fHasReadFragmentPosition; 195 bool fHasReadFragmentPosition;
196 196
197 friend class GrGLSLProgramBuilder;
197 friend class GrGLProgramBuilder; 198 friend class GrGLProgramBuilder;
198 199
199 typedef GrGLSLXPFragmentBuilder INHERITED; 200 typedef GrGLSLXPFragmentBuilder INHERITED;
200 }; 201 };
201 202
202 #endif 203 #endif
OLDNEW
« no previous file with comments | « src/gpu/glsl/GrGLSLCaps.h ('k') | src/gpu/glsl/GrGLSLProgramBuilder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698