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

Side by Side Diff: src/core/SkDevice.cpp

Issue 1817383002: switch surface to sk_sp (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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
OLDNEW
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 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 if (kUnknown_SkPixelGeometry == fSurfaceProps.pixelGeometry() 448 if (kUnknown_SkPixelGeometry == fSurfaceProps.pixelGeometry()
449 || this->onShouldDisableLCD(paint)) { 449 || this->onShouldDisableLCD(paint)) {
450 450
451 flags &= ~SkPaint::kLCDRenderText_Flag; 451 flags &= ~SkPaint::kLCDRenderText_Flag;
452 flags |= SkPaint::kGenA8FromLCD_Flag; 452 flags |= SkPaint::kGenA8FromLCD_Flag;
453 } 453 }
454 454
455 return flags; 455 return flags;
456 } 456 }
457 457
458 sk_sp<SkSurface> SkBaseDevice::makeSurface(SkImageInfo const&, SkSurfaceProps co nst&) {
459 return nullptr;
460 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698