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 #include "SkAtomics.h" |
8 #include "SkSurface_Base.h" | 9 #include "SkSurface_Base.h" |
9 #include "SkImagePriv.h" | 10 #include "SkImagePriv.h" |
10 #include "SkCanvas.h" | 11 #include "SkCanvas.h" |
11 | 12 |
12 #include "SkFontLCDConfig.h" | 13 #include "SkFontLCDConfig.h" |
13 static SkPixelGeometry compute_default_geometry() { | 14 static SkPixelGeometry compute_default_geometry() { |
14 SkFontLCDConfig::LCDOrder order = SkFontLCDConfig::GetSubpixelOrder(); | 15 SkFontLCDConfig::LCDOrder order = SkFontLCDConfig::GetSubpixelOrder(); |
15 if (SkFontLCDConfig::kNONE_LCDOrder == order) { | 16 if (SkFontLCDConfig::kNONE_LCDOrder == order) { |
16 return kUnknown_SkPixelGeometry; | 17 return kUnknown_SkPixelGeometry; |
17 } else { | 18 } else { |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 const SkSurfaceProps*) { | 242 const SkSurfaceProps*) { |
242 return nullptr; | 243 return nullptr; |
243 } | 244 } |
244 | 245 |
245 sk_sp<SkSurface> MakeFromBackendTextureAsRenderTarget(GrContext*, const GrBacken
dTextureDesc&, | 246 sk_sp<SkSurface> MakeFromBackendTextureAsRenderTarget(GrContext*, const GrBacken
dTextureDesc&, |
246 const SkSurfaceProps*) { | 247 const SkSurfaceProps*) { |
247 return nullptr; | 248 return nullptr; |
248 } | 249 } |
249 | 250 |
250 #endif | 251 #endif |
OLD | NEW |