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

Side by Side Diff: src/gpu/GrPathProcessor.cpp

Issue 1443743002: Rename some processor functions from GL to GLSL (Closed) Base URL: https://skia.googlesource.com/skia.git@primProcs
Patch Set: nits Created 5 years, 1 month 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/GrPathProcessor.h ('k') | src/gpu/GrPrimitiveProcessor.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 2013 Google Inc. 2 * Copyright 2013 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 #include "GrPathProcessor.h" 8 #include "GrPathProcessor.h"
9 9
10 #include "gl/GrGLGpu.h" 10 #include "gl/GrGLGpu.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 const SkMatrix& viewMatrix, 119 const SkMatrix& viewMatrix,
120 const SkMatrix& localMatrix) 120 const SkMatrix& localMatrix)
121 : INHERITED(true) 121 : INHERITED(true)
122 , fColor(color) 122 , fColor(color)
123 , fViewMatrix(viewMatrix) 123 , fViewMatrix(viewMatrix)
124 , fLocalMatrix(localMatrix) 124 , fLocalMatrix(localMatrix)
125 , fOpts(opts) { 125 , fOpts(opts) {
126 this->initClassID<GrPathProcessor>(); 126 this->initClassID<GrPathProcessor>();
127 } 127 }
128 128
129 void GrPathProcessor::getGLProcessorKey(const GrGLSLCaps& caps, 129 void GrPathProcessor::getGLSLProcessorKey(const GrGLSLCaps& caps,
130 GrProcessorKeyBuilder* b) const { 130 GrProcessorKeyBuilder* b) const {
131 GrGLPathProcessor::GenKey(*this, caps, b); 131 GrGLPathProcessor::GenKey(*this, caps, b);
132 } 132 }
133 133
134 GrGLSLPrimitiveProcessor* GrPathProcessor::createGLInstance(const GrGLSLCaps& ca ps) const { 134 GrGLSLPrimitiveProcessor* GrPathProcessor::createGLSLInstance(const GrGLSLCaps& caps) const {
135 SkASSERT(caps.pathRenderingSupport()); 135 SkASSERT(caps.pathRenderingSupport());
136 return new GrGLPathProcessor(); 136 return new GrGLPathProcessor();
137 } 137 }
OLDNEW
« no previous file with comments | « src/gpu/GrPathProcessor.h ('k') | src/gpu/GrPrimitiveProcessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698