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

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

Issue 986623003: Implement support for non-scale/translate CTM in image filters. Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Update to TOT Created 5 years, 4 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
« no previous file with comments | « no previous file | src/core/SkCanvas.cpp » ('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 1347 matching lines...) Expand 10 before | Expand all | Expand 10 after
1358 fSurfaceBase = sb; 1358 fSurfaceBase = sb;
1359 } 1359 }
1360 friend class SkSurface_Base; 1360 friend class SkSurface_Base;
1361 friend class SkSurface_Gpu; 1361 friend class SkSurface_Gpu;
1362 1362
1363 bool fDeviceCMDirty; // cleared by updateDeviceCMCache() 1363 bool fDeviceCMDirty; // cleared by updateDeviceCMCache()
1364 void updateDeviceCMCache(); 1364 void updateDeviceCMCache();
1365 1365
1366 void doSave(); 1366 void doSave();
1367 void checkForDeferredSave(); 1367 void checkForDeferredSave();
1368 void internalSetMatrix(const SkMatrix& matrix);
1368 1369
1369 friend class SkDrawIter; // needs setupDrawForLayerDevice() 1370 friend class SkDrawIter; // needs setupDrawForLayerDevice()
1370 friend class AutoDrawLooper; 1371 friend class AutoDrawLooper;
1371 friend class SkLua; // needs top layer size and offset 1372 friend class SkLua; // needs top layer size and offset
1372 friend class SkDebugCanvas; // needs experimental fAllowSimplifyClip 1373 friend class SkDebugCanvas; // needs experimental fAllowSimplifyClip
1373 friend class SkSurface_Raster; // needs getDevice() 1374 friend class SkSurface_Raster; // needs getDevice()
1374 friend class SkRecorder; // InitFlags 1375 friend class SkRecorder; // InitFlags
1375 friend class SkNoSaveLayerCanvas; // InitFlags 1376 friend class SkNoSaveLayerCanvas; // InitFlags
1376 friend class SkPictureImageFilter; // SkCanvas(SkBaseDevice*, SkSurfaceProp s*, InitFlags) 1377 friend class SkPictureImageFilter; // SkCanvas(SkBaseDevice*, SkSurfaceProp s*, InitFlags)
1377 friend class SkPictureRecord; // predrawNotify (why does it need it? <reed >) 1378 friend class SkPictureRecord; // predrawNotify (why does it need it? <reed >)
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
1564 1565
1565 class SkCanvasClipVisitor { 1566 class SkCanvasClipVisitor {
1566 public: 1567 public:
1567 virtual ~SkCanvasClipVisitor(); 1568 virtual ~SkCanvasClipVisitor();
1568 virtual void clipRect(const SkRect&, SkRegion::Op, bool antialias) = 0; 1569 virtual void clipRect(const SkRect&, SkRegion::Op, bool antialias) = 0;
1569 virtual void clipRRect(const SkRRect&, SkRegion::Op, bool antialias) = 0; 1570 virtual void clipRRect(const SkRRect&, SkRegion::Op, bool antialias) = 0;
1570 virtual void clipPath(const SkPath&, SkRegion::Op, bool antialias) = 0; 1571 virtual void clipPath(const SkPath&, SkRegion::Op, bool antialias) = 0;
1571 }; 1572 };
1572 1573
1573 #endif 1574 #endif
OLDNEW
« no previous file with comments | « no previous file | src/core/SkCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698