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

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

Issue 365853002: Rename GrGLUniformManager to GrGLProgramResourceManager (Closed) Base URL: https://skia.googlesource.com/skia.git@02-path-program-fragment
Patch Set: rebase Created 6 years, 4 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/effects/gradients/SkTwoPointRadialGradient.cpp ('k') | src/gpu/GrAARectRenderer.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 /* 2 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #include "GrAAConvexPathRenderer.h" 9 #include "GrAAConvexPathRenderer.h"
10 10
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 565
566 566
567 builder->fsCodeAppendf("\t%s = %s;\n", outputColor, 567 builder->fsCodeAppendf("\t%s = %s;\n", outputColor,
568 (GrGLSLExpr4(inputColor) * GrGLSLExpr1("edgeA lpha")).c_str()); 568 (GrGLSLExpr4(inputColor) * GrGLSLExpr1("edgeA lpha")).c_str());
569 569
570 builder->vsCodeAppendf("\t%s = %s;\n", vsName, attrName->c_str()); 570 builder->vsCodeAppendf("\t%s = %s;\n", vsName, attrName->c_str());
571 } 571 }
572 572
573 static inline void GenKey(const GrDrawEffect&, const GrGLCaps&, GrEffect KeyBuilder*) {} 573 static inline void GenKey(const GrDrawEffect&, const GrGLCaps&, GrEffect KeyBuilder*) {}
574 574
575 virtual void setData(const GrGLUniformManager&, const GrDrawEffect&) SK_ OVERRIDE {} 575 virtual void setData(const GrGLProgramDataManager&, const GrDrawEffect&) SK_OVERRIDE {}
576 576
577 private: 577 private:
578 typedef GrGLVertexEffect INHERITED; 578 typedef GrGLVertexEffect INHERITED;
579 }; 579 };
580 580
581 private: 581 private:
582 QuadEdgeEffect() { 582 QuadEdgeEffect() {
583 this->addVertexAttrib(kVec4f_GrSLType); 583 this->addVertexAttrib(kVec4f_GrSLType);
584 } 584 }
585 585
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
707 vOffset, // start vertex 707 vOffset, // start vertex
708 0, // start index 708 0, // start index
709 draw.fVertexCnt, 709 draw.fVertexCnt,
710 draw.fIndexCnt, 710 draw.fIndexCnt,
711 &devBounds); 711 &devBounds);
712 vOffset += draw.fVertexCnt; 712 vOffset += draw.fVertexCnt;
713 } 713 }
714 714
715 return true; 715 return true;
716 } 716 }
OLDNEW
« no previous file with comments | « src/effects/gradients/SkTwoPointRadialGradient.cpp ('k') | src/gpu/GrAARectRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698