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

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

Issue 38573007: Do not apply hairline optimization for paths if nv_path_rendering is used (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: address problems Created 7 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 | Annotate | Revision Log
« no previous file with comments | « src/gpu/GrDrawTarget.h ('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 19 matching lines...) Expand all
30 } 30 }
31 31
32 void reset(); 32 void reset();
33 33
34 bool drawOval(GrDrawTarget* target, const GrContext* context, bool useAA, 34 bool drawOval(GrDrawTarget* target, const GrContext* context, bool useAA,
35 const SkRect& oval, const SkStrokeRec& stroke); 35 const SkRect& oval, const SkStrokeRec& stroke);
36 bool drawSimpleRRect(GrDrawTarget* target, GrContext* context, bool useAA, 36 bool drawSimpleRRect(GrDrawTarget* target, GrContext* context, bool useAA,
37 const SkRRect& rrect, const SkStrokeRec& stroke); 37 const SkRRect& rrect, const SkStrokeRec& stroke);
38 38
39 private: 39 private:
40 bool drawEllipse(GrDrawTarget* target, bool useAA, 40 bool drawEllipse(GrDrawTarget* target, bool useCoverageAA,
41 const SkRect& ellipse, 41 const SkRect& ellipse,
42 const SkStrokeRec& stroke); 42 const SkStrokeRec& stroke);
43 bool drawDIEllipse(GrDrawTarget* target, bool useAA, 43 bool drawDIEllipse(GrDrawTarget* target, bool useCoverageAA,
44 const SkRect& ellipse, 44 const SkRect& ellipse,
45 const SkStrokeRec& stroke); 45 const SkStrokeRec& stroke);
46 void drawCircle(GrDrawTarget* target, bool useAA, 46 void drawCircle(GrDrawTarget* target, bool useCoverageAA,
47 const SkRect& circle, 47 const SkRect& circle,
48 const SkStrokeRec& stroke); 48 const SkStrokeRec& stroke);
49 49
50 GrIndexBuffer* rRectIndexBuffer(GrGpu* gpu); 50 GrIndexBuffer* rRectIndexBuffer(GrGpu* gpu);
51 51
52 GrIndexBuffer* fRRectIndexBuffer; 52 GrIndexBuffer* fRRectIndexBuffer;
53 53
54 typedef SkRefCnt INHERITED; 54 typedef SkRefCnt INHERITED;
55 }; 55 };
56 56
57 #endif // GrOvalRenderer_DEFINED 57 #endif // GrOvalRenderer_DEFINED
OLDNEW
« no previous file with comments | « src/gpu/GrDrawTarget.h ('k') | src/gpu/GrOvalRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698