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

Side by Side Diff: src/gpu/gl/builders/GrGLFragmentShaderBuilder.h

Issue 665893008: Bug fix for es 3.00 fb fetch (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: feedback inc Created 6 years, 2 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/gl/GrGLCaps.cpp ('k') | src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp » ('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 GrGLFragmentShaderBuilder_DEFINED 8 #ifndef GrGLFragmentShaderBuilder_DEFINED
9 #define GrGLFragmentShaderBuilder_DEFINED 9 #define GrGLFragmentShaderBuilder_DEFINED
10 10
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 kTopLeftFragPosRead_FragPosKey = 0x1,// Read frag pos relative to t op-left. 142 kTopLeftFragPosRead_FragPosKey = 0x1,// Read frag pos relative to t op-left.
143 kBottomLeftFragPosRead_FragPosKey = 0x2,// Read frag pos relative to b ottom-left. 143 kBottomLeftFragPosRead_FragPosKey = 0x2,// Read frag pos relative to b ottom-left.
144 }; 144 };
145 145
146 static const char* kDstCopyColorName; 146 static const char* kDstCopyColorName;
147 147
148 bool fHasCustomColorOutput; 148 bool fHasCustomColorOutput;
149 bool fHasSecondaryOutput; 149 bool fHasSecondaryOutput;
150 bool fSetupFragPosition; 150 bool fSetupFragPosition;
151 bool fTopLeftFragPosRead; 151 bool fTopLeftFragPosRead;
152 int fCustomColorOutputIndex;
152 153
153 // some state to verify shaders and effects are consistent, this is reset be tween effects by 154 // some state to verify shaders and effects are consistent, this is reset be tween effects by
154 // the program creator 155 // the program creator
155 bool fHasReadDstColor; 156 bool fHasReadDstColor;
156 bool fHasReadFragmentPosition; 157 bool fHasReadFragmentPosition;
157 158
158 friend class GrGLNvprProgramBuilder; 159 friend class GrGLNvprProgramBuilder;
159 friend class GrGLProgramBuilder; 160 friend class GrGLProgramBuilder;
160 161
161 typedef GrGLFPFragmentBuilder INHERITED; 162 typedef GrGLFPFragmentBuilder INHERITED;
162 }; 163 };
163 164
164 #endif 165 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698