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

Side by Side Diff: include/core/SkDevice.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 | « include/core/SkCanvas.h ('k') | include/utils/SkDeferredCanvas.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 2010 The Android Open Source Project 2 * Copyright 2010 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 SkDevice_DEFINED 8 #ifndef SkDevice_DEFINED
9 #define SkDevice_DEFINED 9 #define SkDevice_DEFINED
10 10
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 return NULL; 366 return NULL;
367 } 367 }
368 368
369 private: 369 private:
370 friend class SkCanvas; 370 friend class SkCanvas;
371 friend struct DeviceCM; //for setMatrixClip 371 friend struct DeviceCM; //for setMatrixClip
372 friend class SkDraw; 372 friend class SkDraw;
373 friend class SkDrawIter; 373 friend class SkDrawIter;
374 friend class SkDeviceFilteredPaint; 374 friend class SkDeviceFilteredPaint;
375 friend class SkImageFilter::Proxy; 375 friend class SkImageFilter::Proxy;
376 friend class SkDeferredDevice; // for newSurface
377 friend class SkNoPixelsBitmapDevice; 376 friend class SkNoPixelsBitmapDevice;
378 377
379 friend class SkSurface_Raster; 378 friend class SkSurface_Raster;
380 379
381 // used to change the backend's pixels (and possibly config/rowbytes) 380 // used to change the backend's pixels (and possibly config/rowbytes)
382 // but cannot change the width/height, so there should be no change to 381 // but cannot change the width/height, so there should be no change to
383 // any clip information. 382 // any clip information.
384 // TODO: move to SkBitmapDevice 383 // TODO: move to SkBitmapDevice
385 virtual void replaceBitmapBackendForRasterSurface(const SkBitmap&) {} 384 virtual void replaceBitmapBackendForRasterSurface(const SkBitmap&) {}
386 385
(...skipping 13 matching lines...) Expand all
400 SkSurfaceProps fSurfaceProps; 399 SkSurfaceProps fSurfaceProps;
401 400
402 #ifdef SK_DEBUG 401 #ifdef SK_DEBUG
403 bool fAttachedToCanvas; 402 bool fAttachedToCanvas;
404 #endif 403 #endif
405 404
406 typedef SkRefCnt INHERITED; 405 typedef SkRefCnt INHERITED;
407 }; 406 };
408 407
409 #endif 408 #endif
OLDNEW
« no previous file with comments | « include/core/SkCanvas.h ('k') | include/utils/SkDeferredCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698