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

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

Issue 414483003: Implement a persistent uniqueID-based cache for SkImageFilter. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix cross-process issue (revert those changes to HEAD^^) Created 6 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/SkBitmapDevice.h ('k') | 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 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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 SkBaseDevice* createCompatibleDeviceForSaveLayer(const SkImageInfo&); 371 SkBaseDevice* createCompatibleDeviceForSaveLayer(const SkImageInfo&);
372 372
373 virtual SkBaseDevice* onCreateDevice(const SkImageInfo&, Usage) { 373 virtual SkBaseDevice* onCreateDevice(const SkImageInfo&, Usage) {
374 return NULL; 374 return NULL;
375 } 375 }
376 376
377 /** Causes any deferred drawing to the device to be completed. 377 /** Causes any deferred drawing to the device to be completed.
378 */ 378 */
379 virtual void flush() {} 379 virtual void flush() {}
380 380
381 virtual SkImageFilter::UniqueIDCache* getImageFilterCache() { return NULL; }
382
381 SkIPoint fOrigin; 383 SkIPoint fOrigin;
382 SkMetaData* fMetaData; 384 SkMetaData* fMetaData;
383 385
384 #ifdef SK_DEBUG 386 #ifdef SK_DEBUG
385 bool fAttachedToCanvas; 387 bool fAttachedToCanvas;
386 #endif 388 #endif
387 389
388 typedef SkRefCnt INHERITED; 390 typedef SkRefCnt INHERITED;
389 }; 391 };
390 392
391 #endif 393 #endif
OLDNEW
« no previous file with comments | « include/core/SkBitmapDevice.h ('k') | include/core/SkImageFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698