| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |