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

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

Issue 1414373002: Move shader precision modifier check onto GLSLCaps (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 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/builders/GrGLProgramBuilder.cpp ('k') | src/gpu/gl/builders/GrGLShaderBuilder.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 GrGLShaderBuilder_DEFINED 8 #ifndef GrGLShaderBuilder_DEFINED
9 #define GrGLShaderBuilder_DEFINED 9 #define GrGLShaderBuilder_DEFINED
10 10
11 #include "SkTArray.h" 11 #include "SkTArray.h"
12 #include "gl/GrGLFragmentProcessor.h" 12 #include "gl/GrGLFragmentProcessor.h"
13 #include "gl/GrGLProgramDesc.h" 13 #include "gl/GrGLProgramDesc.h"
14 #include "gl/GrGLProgramDataManager.h" 14 #include "gl/GrGLProgramDataManager.h"
15 #include "gl/GrGLTypes.h"
15 16
16 #include <stdarg.h> 17 #include <stdarg.h>
17 18
19 class GrGLCaps;
18 class GrGLContextInfo; 20 class GrGLContextInfo;
19 class GrGLProgramBuilder; 21 class GrGLProgramBuilder;
20 22
21 /** 23 /**
22 base class for all shaders builders 24 base class for all shaders builders
23 */ 25 */
24 class GrGLShaderBuilder { 26 class GrGLShaderBuilder {
25 public: 27 public:
26 typedef GrGLProcessor::TransformedCoordsArray TransformedCoordsArray; 28 typedef GrGLProcessor::TransformedCoordsArray TransformedCoordsArray;
27 typedef GrGLProcessor::TextureSampler TextureSampler; 29 typedef GrGLProcessor::TextureSampler TextureSampler;
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 VarArray fOutputs; 201 VarArray fOutputs;
200 uint32_t fFeaturesAddedMask; 202 uint32_t fFeaturesAddedMask;
201 SkSTArray<1, SkString> fLayoutParams[kLastInterfaceQualifier + 1]; 203 SkSTArray<1, SkString> fLayoutParams[kLastInterfaceQualifier + 1];
202 int fCodeIndex; 204 int fCodeIndex;
203 bool fFinalized; 205 bool fFinalized;
204 206
205 friend class GrGLProgramBuilder; 207 friend class GrGLProgramBuilder;
206 friend class GrGLPathProgramBuilder; // to access fInputs. 208 friend class GrGLPathProgramBuilder; // to access fInputs.
207 }; 209 };
208 #endif 210 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/builders/GrGLProgramBuilder.cpp ('k') | src/gpu/gl/builders/GrGLShaderBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698