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

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

Issue 1411723005: Make SkTextBlob::RunIterator public. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-10-27 (Tuesday) 15:53:46 EDT Created 5 years, 1 month 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"
11 #include "SkDrawFilter.h" 11 #include "SkDrawFilter.h"
12 #include "SkImage_Base.h" 12 #include "SkImage_Base.h"
13 #include "SkMetaData.h" 13 #include "SkMetaData.h"
14 #include "SkNinePatchIter.h" 14 #include "SkNinePatchIter.h"
15 #include "SkPatchUtils.h" 15 #include "SkPatchUtils.h"
16 #include "SkPathMeasure.h" 16 #include "SkPathMeasure.h"
17 #include "SkRasterClip.h" 17 #include "SkRasterClip.h"
18 #include "SkRSXform.h" 18 #include "SkRSXform.h"
19 #include "SkShader.h" 19 #include "SkShader.h"
20 #include "SkTextBlob.h" 20 #include "SkTextBlobPriv.h"
21 #include "SkTextToPathIter.h" 21 #include "SkTextToPathIter.h"
22 22
23 SkBaseDevice::SkBaseDevice(const SkSurfaceProps& surfaceProps) 23 SkBaseDevice::SkBaseDevice(const SkSurfaceProps& surfaceProps)
24 : fSurfaceProps(surfaceProps) 24 : fSurfaceProps(surfaceProps)
25 #ifdef SK_DEBUG 25 #ifdef SK_DEBUG
26 , fAttachedToCanvas(false) 26 , fAttachedToCanvas(false)
27 #endif 27 #endif
28 { 28 {
29 fOrigin.setZero(); 29 fOrigin.setZero();
30 fMetaData = nullptr; 30 fMetaData = nullptr;
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 if (kUnknown_SkPixelGeometry == fSurfaceProps.pixelGeometry() 412 if (kUnknown_SkPixelGeometry == fSurfaceProps.pixelGeometry()
413 || this->onShouldDisableLCD(paint)) { 413 || this->onShouldDisableLCD(paint)) {
414 414
415 flags &= ~SkPaint::kLCDRenderText_Flag; 415 flags &= ~SkPaint::kLCDRenderText_Flag;
416 flags |= SkPaint::kGenA8FromLCD_Flag; 416 flags |= SkPaint::kGenA8FromLCD_Flag;
417 } 417 }
418 418
419 return flags; 419 return flags;
420 } 420 }
421 421
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698