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

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

Issue 1626553002: Revert of added support for PLS path rendering (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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/GrGLSLPLSPathRendering.h ('k') | src/gpu/glsl/GrGLSLProgramBuilder.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 2015 Google Inc. 2 * Copyright 2015 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 GrGLSLProgramBuilder_DEFINED 8 #ifndef GrGLSLProgramBuilder_DEFINED
9 #define GrGLSLProgramBuilder_DEFINED 9 #define GrGLSLProgramBuilder_DEFINED
10 10
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 GrGLSLExpr4* outputColor, 124 GrGLSLExpr4* outputColor,
125 GrGLSLExpr4* outputCoverage); 125 GrGLSLExpr4* outputCoverage);
126 void emitAndInstallFragProcs(int procOffset, int numProcs, GrGLSLExpr4* inOu t); 126 void emitAndInstallFragProcs(int procOffset, int numProcs, GrGLSLExpr4* inOu t);
127 void emitAndInstallFragProc(const GrFragmentProcessor&, 127 void emitAndInstallFragProc(const GrFragmentProcessor&,
128 int index, 128 int index,
129 const GrGLSLExpr4& input, 129 const GrGLSLExpr4& input,
130 GrGLSLExpr4* output); 130 GrGLSLExpr4* output);
131 void emitAndInstallXferProc(const GrXferProcessor&, 131 void emitAndInstallXferProc(const GrXferProcessor&,
132 const GrGLSLExpr4& colorIn, 132 const GrGLSLExpr4& colorIn,
133 const GrGLSLExpr4& coverageIn, 133 const GrGLSLExpr4& coverageIn,
134 bool ignoresCoverage, 134 bool ignoresCoverage);
135 GrPixelLocalStorageState plsState);
136 void emitFSOutputSwizzle(bool hasSecondaryOutput); 135 void emitFSOutputSwizzle(bool hasSecondaryOutput);
137 136
138 void verify(const GrPrimitiveProcessor&); 137 void verify(const GrPrimitiveProcessor&);
139 void verify(const GrXferProcessor&); 138 void verify(const GrXferProcessor&);
140 void verify(const GrFragmentProcessor&); 139 void verify(const GrFragmentProcessor&);
141 140
142 virtual void emitSamplers(const GrProcessor& processor, 141 virtual void emitSamplers(const GrProcessor& processor,
143 GrGLSLTextureSampler::TextureSamplerArray* outSamp lers) = 0; 142 GrGLSLTextureSampler::TextureSamplerArray* outSamp lers) = 0;
144 143
145 GrGLSLPrimitiveProcessor::TransformsIn fCoordTransforms; 144 GrGLSLPrimitiveProcessor::TransformsIn fCoordTransforms;
146 GrGLSLPrimitiveProcessor::TransformsOut fOutCoords; 145 GrGLSLPrimitiveProcessor::TransformsOut fOutCoords;
147 }; 146 };
148 147
149 #endif 148 #endif
OLDNEW
« no previous file with comments | « src/gpu/glsl/GrGLSLPLSPathRendering.h ('k') | src/gpu/glsl/GrGLSLProgramBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698