| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 "SkColorFilter.h" | 8 #include "SkColorFilter.h" |
| 9 #include "SkDevice.h" | 9 #include "SkDevice.h" |
| 10 #include "SkDraw.h" | 10 #include "SkDraw.h" |
| (...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 if (kUnknown_SkPixelGeometry == fSurfaceProps.pixelGeometry() | 445 if (kUnknown_SkPixelGeometry == fSurfaceProps.pixelGeometry() |
| 446 || this->onShouldDisableLCD(paint)) { | 446 || this->onShouldDisableLCD(paint)) { |
| 447 | 447 |
| 448 flags &= ~SkPaint::kLCDRenderText_Flag; | 448 flags &= ~SkPaint::kLCDRenderText_Flag; |
| 449 flags |= SkPaint::kGenA8FromLCD_Flag; | 449 flags |= SkPaint::kGenA8FromLCD_Flag; |
| 450 } | 450 } |
| 451 | 451 |
| 452 return flags; | 452 return flags; |
| 453 } | 453 } |
| 454 | 454 |
| 455 sk_sp<SkSurface> SkBaseDevice::makeSurface(SkImageInfo const&, SkSurfaceProps co
nst&) { |
| 456 return nullptr; |
| 457 } |
| OLD | NEW |