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

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

Issue 23701013: Add device-independent rendering of ovals, take two. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: A little more prettyprint Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/gpu/GrOvalRenderer.cpp » ('j') | src/gpu/GrOvalRenderer.cpp » ('J')
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 23 matching lines...) Expand all
34 34
35 bool drawOval(GrDrawTarget* target, const GrContext* context, bool useAA, 35 bool drawOval(GrDrawTarget* target, const GrContext* context, bool useAA,
36 const SkRect& oval, const SkStrokeRec& stroke); 36 const SkRect& oval, const SkStrokeRec& stroke);
37 bool drawSimpleRRect(GrDrawTarget* target, GrContext* context, bool useAA, 37 bool drawSimpleRRect(GrDrawTarget* target, GrContext* context, bool useAA,
38 const SkRRect& rrect, const SkStrokeRec& stroke); 38 const SkRRect& rrect, const SkStrokeRec& stroke);
39 39
40 private: 40 private:
41 bool drawEllipse(GrDrawTarget* target, bool useAA, 41 bool drawEllipse(GrDrawTarget* target, bool useAA,
42 const SkRect& ellipse, 42 const SkRect& ellipse,
43 const SkStrokeRec& stroke); 43 const SkStrokeRec& stroke);
44 bool drawDIEllipse(GrDrawTarget* target, bool useAA,
45 const SkRect& ellipse,
46 const SkStrokeRec& stroke);
44 void drawCircle(GrDrawTarget* target, bool useAA, 47 void drawCircle(GrDrawTarget* target, bool useAA,
45 const SkRect& circle, 48 const SkRect& circle,
46 const SkStrokeRec& stroke); 49 const SkStrokeRec& stroke);
47 50
48 GrIndexBuffer* rRectIndexBuffer(GrGpu* gpu); 51 GrIndexBuffer* rRectIndexBuffer(GrGpu* gpu);
49 52
50 GrIndexBuffer* fRRectIndexBuffer; 53 GrIndexBuffer* fRRectIndexBuffer;
51 54
52 typedef GrRefCnt INHERITED; 55 typedef GrRefCnt INHERITED;
53 }; 56 };
54 57
55 #endif // GrOvalRenderer_DEFINED 58 #endif // GrOvalRenderer_DEFINED
OLDNEW
« no previous file with comments | « no previous file | src/gpu/GrOvalRenderer.cpp » ('j') | src/gpu/GrOvalRenderer.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698