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

Side by Side Diff: src/core/SkDeviceProfile.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/core/SkBitmapHeap.h ('k') | src/core/SkInstCnt.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 SkDeviceProfile_DEFINED 8 #ifndef SkDeviceProfile_DEFINED
9 #define SkDeviceProfile_DEFINED 9 #define SkDeviceProfile_DEFINED
10 10
11 #include "SkRefCnt.h" 11 #include "SkRefCnt.h"
12 12
13 class SkDeviceProfile : public SkRefCnt { 13 class SkDeviceProfile : public SkRefCnt {
14 public: 14 public:
15 SK_DECLARE_INST_COUNT(SkDeviceProfile) 15
16 16
17 enum LCDConfig { 17 enum LCDConfig {
18 kNone_LCDConfig, // disables LCD text rendering, uses A8 instead 18 kNone_LCDConfig, // disables LCD text rendering, uses A8 instead
19 kRGB_Horizontal_LCDConfig, 19 kRGB_Horizontal_LCDConfig,
20 kBGR_Horizontal_LCDConfig, 20 kBGR_Horizontal_LCDConfig,
21 kRGB_Vertical_LCDConfig, 21 kRGB_Vertical_LCDConfig,
22 kBGR_Vertical_LCDConfig 22 kBGR_Vertical_LCDConfig
23 }; 23 };
24 24
25 enum FontHintLevel { 25 enum FontHintLevel {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 89
90 float fGammaExponent; 90 float fGammaExponent;
91 float fContrastScale; 91 float fContrastScale;
92 LCDConfig fLCDConfig; 92 LCDConfig fLCDConfig;
93 FontHintLevel fFontHintLevel; 93 FontHintLevel fFontHintLevel;
94 94
95 typedef SkRefCnt INHERITED; 95 typedef SkRefCnt INHERITED;
96 }; 96 };
97 97
98 #endif 98 #endif
OLDNEW
« no previous file with comments | « src/core/SkBitmapHeap.h ('k') | src/core/SkInstCnt.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698