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

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

Issue 1217573002: remove SkInstCnt (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 years, 5 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/GrBatchAtlas.cpp ('k') | src/gpu/GrFontScaler.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
(...skipping 19 matching lines...) Expand all
30 #include "SkXfermode.h" 30 #include "SkXfermode.h"
31 31
32 class GrClip; 32 class GrClip;
33 class GrCaps; 33 class GrCaps;
34 class GrPath; 34 class GrPath;
35 class GrPathRange; 35 class GrPathRange;
36 class GrPipeline; 36 class GrPipeline;
37 37
38 class GrDrawTarget : public SkRefCnt { 38 class GrDrawTarget : public SkRefCnt {
39 public: 39 public:
40 SK_DECLARE_INST_COUNT(GrDrawTarget) 40
41 41
42 typedef GrPathRange::PathIndexType PathIndexType; 42 typedef GrPathRange::PathIndexType PathIndexType;
43 typedef GrPathRendering::PathTransformType PathTransformType; 43 typedef GrPathRendering::PathTransformType PathTransformType;
44 44
45 /////////////////////////////////////////////////////////////////////////// 45 ///////////////////////////////////////////////////////////////////////////
46 46
47 // The context may not be fully constructed and should not be used during Gr DrawTarget 47 // The context may not be fully constructed and should not be used during Gr DrawTarget
48 // construction. 48 // construction.
49 GrDrawTarget(GrGpu* gpu, GrResourceProvider*); 49 GrDrawTarget(GrGpu* gpu, GrResourceProvider*);
50 50
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 virtual bool setupClip(GrPipelineBuilder*, 342 virtual bool setupClip(GrPipelineBuilder*,
343 GrPipelineBuilder::AutoRestoreFragmentProcessors*, 343 GrPipelineBuilder::AutoRestoreFragmentProcessors*,
344 GrPipelineBuilder::AutoRestoreStencil*, 344 GrPipelineBuilder::AutoRestoreStencil*,
345 GrScissorState* scissorState, 345 GrScissorState* scissorState,
346 const SkRect* devBounds) override; 346 const SkRect* devBounds) override;
347 347
348 typedef GrDrawTarget INHERITED; 348 typedef GrDrawTarget INHERITED;
349 }; 349 };
350 350
351 #endif 351 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrBatchAtlas.cpp ('k') | src/gpu/GrFontScaler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698