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

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

Issue 947443003: Move clip off of draw target (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: feedback inc Created 5 years, 10 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/GrAAHairLinePathRenderer.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 * Copyright 2012 Google Inc. 2 * Copyright 2012 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 GrAARectRenderer_DEFINED 8 #ifndef GrAARectRenderer_DEFINED
9 #define GrAARectRenderer_DEFINED 9 #define GrAARectRenderer_DEFINED
10 10
11 #include "GrColor.h" 11 #include "GrColor.h"
12 #include "SkMatrix.h" 12 #include "SkMatrix.h"
13 #include "SkRect.h" 13 #include "SkRect.h"
14 #include "SkRefCnt.h" 14 #include "SkRefCnt.h"
15 #include "SkStrokeRec.h" 15 #include "SkStrokeRec.h"
16 16
17 class GrClip;
18 class GrDrawTarget;
17 class GrGpu; 19 class GrGpu;
20 class GrIndexBuffer;
18 class GrPipelineBuilder; 21 class GrPipelineBuilder;
19 class GrDrawTarget;
20 class GrIndexBuffer;
21 22
22 /* 23 /*
23 * This class wraps helper functions that draw AA rects (filled & stroked) 24 * This class wraps helper functions that draw AA rects (filled & stroked)
24 */ 25 */
25 class GrAARectRenderer : public SkRefCnt { 26 class GrAARectRenderer : public SkRefCnt {
26 public: 27 public:
27 SK_DECLARE_INST_COUNT(GrAARectRenderer) 28 SK_DECLARE_INST_COUNT(GrAARectRenderer)
28 29
29 GrAARectRenderer(GrGpu* gpu) 30 GrAARectRenderer(GrGpu* gpu)
30 : fGpu(gpu) 31 : fGpu(gpu)
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 88
88 GrGpu* fGpu; 89 GrGpu* fGpu;
89 GrIndexBuffer* fAAFillRectIndexBuffer; 90 GrIndexBuffer* fAAFillRectIndexBuffer;
90 GrIndexBuffer* fAAMiterStrokeRectIndexBuffer; 91 GrIndexBuffer* fAAMiterStrokeRectIndexBuffer;
91 GrIndexBuffer* fAABevelStrokeRectIndexBuffer; 92 GrIndexBuffer* fAABevelStrokeRectIndexBuffer;
92 93
93 typedef SkRefCnt INHERITED; 94 typedef SkRefCnt INHERITED;
94 }; 95 };
95 96
96 #endif // GrAARectRenderer_DEFINED 97 #endif // GrAARectRenderer_DEFINED
OLDNEW
« no previous file with comments | « src/gpu/GrAAHairLinePathRenderer.cpp ('k') | src/gpu/GrAARectRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698