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

Side by Side Diff: src/gpu/GrOvalRenderer.h

Issue 1108403005: Add batch unit tests for ovals (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweaks Created 5 years, 7 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/GrBatchTest.cpp ('k') | src/gpu/GrOvalRenderer.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 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 #ifndef GrOvalRenderer_DEFINED 8 #ifndef GrOvalRenderer_DEFINED
9 #define GrOvalRenderer_DEFINED 9 #define GrOvalRenderer_DEFINED
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 const SkRect& ellipse, 72 const SkRect& ellipse,
73 const SkStrokeRec& stroke); 73 const SkStrokeRec& stroke);
74 void drawCircle(GrDrawTarget* target, 74 void drawCircle(GrDrawTarget* target,
75 GrPipelineBuilder*, 75 GrPipelineBuilder*,
76 GrColor, 76 GrColor,
77 const SkMatrix& viewMatrix, 77 const SkMatrix& viewMatrix,
78 bool useCoverageAA, 78 bool useCoverageAA,
79 const SkRect& circle, 79 const SkRect& circle,
80 const SkStrokeRec& stroke); 80 const SkStrokeRec& stroke);
81 81
82 GrIndexBuffer* rRectIndexBuffer(bool isStrokeOnly);
83
84 GrGpu* fGpu; 82 GrGpu* fGpu;
85 GrIndexBuffer* fRRectIndexBuffer; 83 GrIndexBuffer* fRRectIndexBuffer;
86 GrIndexBuffer* fStrokeRRectIndexBuffer; 84 GrIndexBuffer* fStrokeRRectIndexBuffer;
87 85
88 typedef SkRefCnt INHERITED; 86 typedef SkRefCnt INHERITED;
89 }; 87 };
90 88
91 #endif // GrOvalRenderer_DEFINED 89 #endif // GrOvalRenderer_DEFINED
OLDNEW
« no previous file with comments | « src/gpu/GrBatchTest.cpp ('k') | src/gpu/GrOvalRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698