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

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

Issue 282283002: add pathops to debugger (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: make getAllowSimplifyClip const Created 6 years, 7 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 | « debugger/SkDebugger.cpp ('k') | 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 1301 matching lines...) Expand 10 before | Expand all | Expand 10 after
1312 } 1312 }
1313 friend class SkSurface_Base; 1313 friend class SkSurface_Base;
1314 friend class SkSurface_Gpu; 1314 friend class SkSurface_Gpu;
1315 1315
1316 bool fDeviceCMDirty; // cleared by updateDeviceCMCache() 1316 bool fDeviceCMDirty; // cleared by updateDeviceCMCache()
1317 void updateDeviceCMCache(); 1317 void updateDeviceCMCache();
1318 1318
1319 friend class SkDrawIter; // needs setupDrawForLayerDevice() 1319 friend class SkDrawIter; // needs setupDrawForLayerDevice()
1320 friend class AutoDrawLooper; 1320 friend class AutoDrawLooper;
1321 friend class SkLua; // needs top layer size and offset 1321 friend class SkLua; // needs top layer size and offset
1322 friend class SkDebugCanvas; // needs experimental fAllowSimplifyClip
1322 friend class SkDeferredDevice; // needs getTopDevice() 1323 friend class SkDeferredDevice; // needs getTopDevice()
1323 1324
1324 SkBaseDevice* createLayerDevice(const SkImageInfo&); 1325 SkBaseDevice* createLayerDevice(const SkImageInfo&);
1325 1326
1326 SkBaseDevice* init(SkBaseDevice*); 1327 SkBaseDevice* init(SkBaseDevice*);
1327 1328
1328 /** 1329 /**
1329 * DEPRECATED 1330 * DEPRECATED
1330 * 1331 *
1331 * Specify a device for this canvas to draw into. If it is not null, its 1332 * Specify a device for this canvas to draw into. If it is not null, its
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
1500 bool asROBitmap(SkBitmap*) const; 1501 bool asROBitmap(SkBitmap*) const;
1501 1502
1502 private: 1503 private:
1503 SkBitmap fBitmap; // used if peekPixels() fails 1504 SkBitmap fBitmap; // used if peekPixels() fails
1504 const void* fAddr; // NULL on failure 1505 const void* fAddr; // NULL on failure
1505 SkImageInfo fInfo; 1506 SkImageInfo fInfo;
1506 size_t fRowBytes; 1507 size_t fRowBytes;
1507 }; 1508 };
1508 1509
1509 #endif 1510 #endif
OLDNEW
« no previous file with comments | « debugger/SkDebugger.cpp ('k') | src/core/SkCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698