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

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

Issue 1192663002: Implement support for CHROMIUM_path_rendering pseudo extension (Closed) Base URL: https://skia.googlesource.com/skia.git@chromium-pathrendering-prepare-03
Patch Set: rebase Created 5 years, 5 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/GrGLPathRendering.cpp ('k') | src/gpu/gl/builders/GrGLPathProgramBuilder.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 #ifndef GrGLPathProgramBuilder_DEFINED 7 #ifndef GrGLPathProgramBuilder_DEFINED
8 #define GrGLPathProgramBuilder_DEFINED 8 #define GrGLPathProgramBuilder_DEFINED
9 9
10 #include "GrGLProgramBuilder.h" 10 #include "GrGLProgramBuilder.h"
11 11
12 class GrGLPathProgramBuilder : public GrGLProgramBuilder { 12 class GrGLPathProgramBuilder : public GrGLProgramBuilder {
13 public: 13 public:
14 GrGLPathProgramBuilder(GrGLGpu* gpu, const DrawArgs& args); 14 GrGLPathProgramBuilder(GrGLGpu* gpu, const DrawArgs& args);
15 15
16 GrGLProgram* createProgram(GrGLuint programID) override; 16 GrGLProgram* createProgram(GrGLuint programID) override;
17 17
18 SeparableVaryingHandle addSeparableVarying(const char* name, GrGLVertToFrag* v, 18 SeparableVaryingHandle addSeparableVarying(const char* name, GrGLVertToFrag* v,
19 GrSLPrecision fsPrecision) overri de; 19 GrSLPrecision fsPrecision) overri de;
20 void bindProgramResourceLocations(GrGLuint programID) override;
20 void resolveProgramResourceLocations(GrGLuint programID) override; 21 void resolveProgramResourceLocations(GrGLuint programID) override;
21 22
22 private: 23 private:
23 typedef GrGLPathProgramDataManager::SeparableVaryingInfo SeparableVaryingInf o; 24 typedef GrGLPathProgramDataManager::SeparableVaryingInfo SeparableVaryingInf o;
24 typedef GrGLPathProgramDataManager::SeparableVaryingInfoArray SeparableVaryi ngInfoArray; 25 typedef GrGLPathProgramDataManager::SeparableVaryingInfoArray SeparableVaryi ngInfoArray;
25 26
26 SeparableVaryingInfoArray fSeparableVaryingInfos; 27 SeparableVaryingInfoArray fSeparableVaryingInfos;
27 28
28 typedef GrGLProgramBuilder INHERITED; 29 typedef GrGLProgramBuilder INHERITED;
29 }; 30 };
30 31
31 #endif 32 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLPathRendering.cpp ('k') | src/gpu/gl/builders/GrGLPathProgramBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698