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

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

Issue 1204433002: Begin kLegacyFontHost_InitType cleanup (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add dox 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/SkBitmapDevice.h ('k') | include/utils/SkDeferredCanvas.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
(...skipping 13 matching lines...) Expand all
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) 29 SK_DECLARE_INST_COUNT(SkBaseDevice)
30 30
31 /** 31 /**
32 * Construct a new device. 32 * Construct a new device.
33 */ 33 */
34 SkBaseDevice();
35 explicit SkBaseDevice(const SkSurfaceProps&); 34 explicit SkBaseDevice(const SkSurfaceProps&);
36 virtual ~SkBaseDevice(); 35 virtual ~SkBaseDevice();
37 36
38 SkMetaData& getMetaData(); 37 SkMetaData& getMetaData();
39 38
40 /** 39 /**
41 * Return ImageInfo for this device. If the canvas is not backed by pixels 40 * Return ImageInfo for this device. If the canvas is not backed by pixels
42 * (cpu or gpu), then the info's ColorType will be kUnknown_SkColorType. 41 * (cpu or gpu), then the info's ColorType will be kUnknown_SkColorType.
43 */ 42 */
44 virtual SkImageInfo imageInfo() const; 43 virtual SkImageInfo imageInfo() const;
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 SkSurfaceProps fSurfaceProps; 395 SkSurfaceProps fSurfaceProps;
397 396
398 #ifdef SK_DEBUG 397 #ifdef SK_DEBUG
399 bool fAttachedToCanvas; 398 bool fAttachedToCanvas;
400 #endif 399 #endif
401 400
402 typedef SkRefCnt INHERITED; 401 typedef SkRefCnt INHERITED;
403 }; 402 };
404 403
405 #endif 404 #endif
OLDNEW
« no previous file with comments | « include/core/SkBitmapDevice.h ('k') | include/utils/SkDeferredCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698