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

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

Issue 2086293006: Move GrPipelineBuilder out of gms & reduce use of GrPipelineBuilder.h (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update to ToT Created 4 years, 6 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/GrDrawContextPriv.h ('k') | src/gpu/GrGpu.h » ('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 2010 Google Inc. 2 * Copyright 2010 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 GrDrawTarget_DEFINED 8 #ifndef GrDrawTarget_DEFINED
9 #define GrDrawTarget_DEFINED 9 #define GrDrawTarget_DEFINED
10 10
11 #include "GrClip.h" 11 #include "GrClip.h"
12 #include "GrContext.h" 12 #include "GrContext.h"
13 #include "GrPathProcessor.h" 13 #include "GrPathProcessor.h"
14 #include "GrPrimitiveProcessor.h" 14 #include "GrPrimitiveProcessor.h"
15 #include "GrPathRendering.h" 15 #include "GrPathRendering.h"
16 #include "GrPipelineBuilder.h"
17 #include "GrXferProcessor.h" 16 #include "GrXferProcessor.h"
18 17
19 #include "batches/GrDrawBatch.h" 18 #include "batches/GrDrawBatch.h"
20 19
21 #include "SkClipStack.h" 20 #include "SkClipStack.h"
22 #include "SkMatrix.h" 21 #include "SkMatrix.h"
23 #include "SkPath.h" 22 #include "SkPath.h"
24 #include "SkStringUtils.h" 23 #include "SkStringUtils.h"
25 #include "SkStrokeRec.h" 24 #include "SkStrokeRec.h"
26 #include "SkTArray.h" 25 #include "SkTArray.h"
27 #include "SkTLazy.h" 26 #include "SkTLazy.h"
28 #include "SkTypes.h" 27 #include "SkTypes.h"
29 #include "SkXfermode.h" 28 #include "SkXfermode.h"
30 29
31 //#define ENABLE_MDB 1 30 //#define ENABLE_MDB 1
32 31
33 class GrAuditTrail; 32 class GrAuditTrail;
34 class GrBatch; 33 class GrBatch;
35 class GrClip; 34 class GrClip;
36 class GrCaps; 35 class GrCaps;
37 class GrPath; 36 class GrPath;
38 class GrDrawPathBatchBase; 37 class GrDrawPathBatchBase;
38 class GrPipelineBuilder;
39 39
40 class GrDrawTarget final : public SkRefCnt { 40 class GrDrawTarget final : public SkRefCnt {
41 public: 41 public:
42 /** Options for GrDrawTarget behavior. */ 42 /** Options for GrDrawTarget behavior. */
43 struct Options { 43 struct Options {
44 Options () 44 Options ()
45 : fClipBatchToBounds(false) 45 : fClipBatchToBounds(false)
46 , fDrawBatchBounds(false) 46 , fDrawBatchBounds(false)
47 , fMaxBatchLookback(-1) 47 , fMaxBatchLookback(-1)
48 , fMaxBatchLookahead(-1) {} 48 , fMaxBatchLookahead(-1) {}
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 225
226 bool fClipBatchToBounds; 226 bool fClipBatchToBounds;
227 bool fDrawBatchBounds; 227 bool fDrawBatchBounds;
228 int fMaxBatchLookback; 228 int fMaxBatchLookback;
229 int fMaxBatchLookahead; 229 int fMaxBatchLookahead;
230 230
231 typedef SkRefCnt INHERITED; 231 typedef SkRefCnt INHERITED;
232 }; 232 };
233 233
234 #endif 234 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrDrawContextPriv.h ('k') | src/gpu/GrGpu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698