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

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

Issue 1269093002: remove SkDeferredCanvas (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 | « gyp/utils.gypi ('k') | include/core/SkDevice.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 1352 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 1368
1369 friend class SkDrawIter; // needs setupDrawForLayerDevice() 1369 friend class SkDrawIter; // needs setupDrawForLayerDevice()
1370 friend class AutoDrawLooper; 1370 friend class AutoDrawLooper;
1371 friend class SkLua; // needs top layer size and offset 1371 friend class SkLua; // needs top layer size and offset
1372 friend class SkDebugCanvas; // needs experimental fAllowSimplifyClip 1372 friend class SkDebugCanvas; // needs experimental fAllowSimplifyClip
1373 friend class SkDeferredDevice; // needs getTopDevice()
1374 friend class SkSurface_Raster; // needs getDevice() 1373 friend class SkSurface_Raster; // needs getDevice()
1375 friend class SkRecorder; // InitFlags 1374 friend class SkRecorder; // InitFlags
1376 friend class SkNoSaveLayerCanvas; // InitFlags 1375 friend class SkNoSaveLayerCanvas; // InitFlags
1377 friend class SkPictureImageFilter; // SkCanvas(SkBaseDevice*, SkSurfaceProp s*, InitFlags) 1376 friend class SkPictureImageFilter; // SkCanvas(SkBaseDevice*, SkSurfaceProp s*, InitFlags)
1378 friend class SkPictureRecord; // predrawNotify (why does it need it? <reed >) 1377 friend class SkPictureRecord; // predrawNotify (why does it need it? <reed >)
1379 1378
1380 enum InitFlags { 1379 enum InitFlags {
1381 kDefault_InitFlags = 0, 1380 kDefault_InitFlags = 0,
1382 kConservativeRasterClip_InitFlag = 1 << 0, 1381 kConservativeRasterClip_InitFlag = 1 << 0,
1383 }; 1382 };
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
1565 1564
1566 class SkCanvasClipVisitor { 1565 class SkCanvasClipVisitor {
1567 public: 1566 public:
1568 virtual ~SkCanvasClipVisitor(); 1567 virtual ~SkCanvasClipVisitor();
1569 virtual void clipRect(const SkRect&, SkRegion::Op, bool antialias) = 0; 1568 virtual void clipRect(const SkRect&, SkRegion::Op, bool antialias) = 0;
1570 virtual void clipRRect(const SkRRect&, SkRegion::Op, bool antialias) = 0; 1569 virtual void clipRRect(const SkRRect&, SkRegion::Op, bool antialias) = 0;
1571 virtual void clipPath(const SkPath&, SkRegion::Op, bool antialias) = 0; 1570 virtual void clipPath(const SkPath&, SkRegion::Op, bool antialias) = 0;
1572 }; 1571 };
1573 1572
1574 #endif 1573 #endif
OLDNEW
« no previous file with comments | « gyp/utils.gypi ('k') | include/core/SkDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698