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

Side by Side Diff: include/core/SkDevice.h

Issue 1217573002: remove SkInstCnt (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 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 | « include/core/SkDataTable.h ('k') | include/core/SkDocument.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 The Android Open Source Project 2 * Copyright 2010 The Android Open Source Project
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 SkDevice_DEFINED 8 #ifndef SkDevice_DEFINED
9 #define SkDevice_DEFINED 9 #define SkDevice_DEFINED
10 10
11 #include "SkRefCnt.h" 11 #include "SkRefCnt.h"
12 #include "SkBitmap.h" 12 #include "SkBitmap.h"
13 #include "SkCanvas.h" 13 #include "SkCanvas.h"
14 #include "SkColor.h" 14 #include "SkColor.h"
15 #include "SkImageFilter.h" 15 #include "SkImageFilter.h"
16 #include "SkSurfaceProps.h" 16 #include "SkSurfaceProps.h"
17 17
18 class SkClipStack; 18 class SkClipStack;
19 class SkDraw; 19 class SkDraw;
20 class SkDrawFilter; 20 class SkDrawFilter;
21 struct SkIRect; 21 struct SkIRect;
22 class SkMatrix; 22 class SkMatrix;
23 class SkMetaData; 23 class SkMetaData;
24 class SkRegion; 24 class SkRegion;
25 class GrRenderTarget; 25 class GrRenderTarget;
26 26
27 class SK_API SkBaseDevice : public SkRefCnt { 27 class SK_API SkBaseDevice : public SkRefCnt {
28 public: 28 public:
29 SK_DECLARE_INST_COUNT(SkBaseDevice)
30
31 /** 29 /**
32 * Construct a new device. 30 * Construct a new device.
33 */ 31 */
34 explicit SkBaseDevice(const SkSurfaceProps&); 32 explicit SkBaseDevice(const SkSurfaceProps&);
35 virtual ~SkBaseDevice(); 33 virtual ~SkBaseDevice();
36 34
37 SkMetaData& getMetaData(); 35 SkMetaData& getMetaData();
38 36
39 /** 37 /**
40 * Return ImageInfo for this device. If the canvas is not backed by pixels 38 * Return ImageInfo for this device. If the canvas is not backed by pixels
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 SkSurfaceProps fSurfaceProps; 400 SkSurfaceProps fSurfaceProps;
403 401
404 #ifdef SK_DEBUG 402 #ifdef SK_DEBUG
405 bool fAttachedToCanvas; 403 bool fAttachedToCanvas;
406 #endif 404 #endif
407 405
408 typedef SkRefCnt INHERITED; 406 typedef SkRefCnt INHERITED;
409 }; 407 };
410 408
411 #endif 409 #endif
OLDNEW
« no previous file with comments | « include/core/SkDataTable.h ('k') | include/core/SkDocument.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698