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

Side by Side Diff: include/core/SkCanvas.h

Issue 725243004: Disable LCD text explicitly in SkPictureImageFilter::onFilterImage() (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: comment Created 6 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
« no previous file with comments | « no previous file | include/core/SkImageFilter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
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 SkCanvas_DEFINED 8 #ifndef SkCanvas_DEFINED
9 #define SkCanvas_DEFINED 9 #define SkCanvas_DEFINED
10 10
(...skipping 1312 matching lines...) Expand 10 before | Expand all | Expand 10 after
1323 void updateDeviceCMCache(); 1323 void updateDeviceCMCache();
1324 1324
1325 friend class SkDrawIter; // needs setupDrawForLayerDevice() 1325 friend class SkDrawIter; // needs setupDrawForLayerDevice()
1326 friend class AutoDrawLooper; 1326 friend class AutoDrawLooper;
1327 friend class SkLua; // needs top layer size and offset 1327 friend class SkLua; // needs top layer size and offset
1328 friend class SkDebugCanvas; // needs experimental fAllowSimplifyClip 1328 friend class SkDebugCanvas; // needs experimental fAllowSimplifyClip
1329 friend class SkDeferredDevice; // needs getTopDevice() 1329 friend class SkDeferredDevice; // needs getTopDevice()
1330 friend class SkSurface_Raster; // needs getDevice() 1330 friend class SkSurface_Raster; // needs getDevice()
1331 friend class SkRecorder; // InitFlags 1331 friend class SkRecorder; // InitFlags
1332 friend class SkNoSaveLayerCanvas; // InitFlags 1332 friend class SkNoSaveLayerCanvas; // InitFlags
1333 friend class SkPictureImageFilter; // SkCanvas(SkBaseDevice*, SkSurfaceProp s*, InitFlags)
1333 1334
1334 enum InitFlags { 1335 enum InitFlags {
1335 kDefault_InitFlags = 0, 1336 kDefault_InitFlags = 0,
1336 kConservativeRasterClip_InitFlag = 1 << 0, 1337 kConservativeRasterClip_InitFlag = 1 << 0,
1337 }; 1338 };
1338 SkCanvas(const SkIRect& bounds, InitFlags); 1339 SkCanvas(const SkIRect& bounds, InitFlags);
1339 SkCanvas(SkBaseDevice*, const SkSurfaceProps*, InitFlags); 1340 SkCanvas(SkBaseDevice*, const SkSurfaceProps*, InitFlags);
1340 SkCanvas(const SkBitmap&, const SkSurfaceProps&); 1341 SkCanvas(const SkBitmap&, const SkSurfaceProps&);
1341 1342
1342 // needs gettotalclip() 1343 // needs gettotalclip()
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
1547 1548
1548 class SkCanvasClipVisitor { 1549 class SkCanvasClipVisitor {
1549 public: 1550 public:
1550 virtual ~SkCanvasClipVisitor(); 1551 virtual ~SkCanvasClipVisitor();
1551 virtual void clipRect(const SkRect&, SkRegion::Op, bool antialias) = 0; 1552 virtual void clipRect(const SkRect&, SkRegion::Op, bool antialias) = 0;
1552 virtual void clipRRect(const SkRRect&, SkRegion::Op, bool antialias) = 0; 1553 virtual void clipRRect(const SkRRect&, SkRegion::Op, bool antialias) = 0;
1553 virtual void clipPath(const SkPath&, SkRegion::Op, bool antialias) = 0; 1554 virtual void clipPath(const SkPath&, SkRegion::Op, bool antialias) = 0;
1554 }; 1555 };
1555 1556
1556 #endif 1557 #endif
OLDNEW
« no previous file with comments | « no previous file | include/core/SkImageFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698