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

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

Issue 452923002: Remove external SkImageFilter cache, and rename UniqueIDCache -> Cache. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 SkBaseDevice* createCompatibleDeviceForSaveLayer(const SkImageInfo&); 373 SkBaseDevice* createCompatibleDeviceForSaveLayer(const SkImageInfo&);
374 374
375 virtual SkBaseDevice* onCreateDevice(const SkImageInfo&, Usage) { 375 virtual SkBaseDevice* onCreateDevice(const SkImageInfo&, Usage) {
376 return NULL; 376 return NULL;
377 } 377 }
378 378
379 /** Causes any deferred drawing to the device to be completed. 379 /** Causes any deferred drawing to the device to be completed.
380 */ 380 */
381 virtual void flush() {} 381 virtual void flush() {}
382 382
383 virtual SkImageFilter::UniqueIDCache* getImageFilterCache() { return NULL; } 383 virtual SkImageFilter::Cache* getImageFilterCache() { return NULL; }
384 384
385 SkIPoint fOrigin; 385 SkIPoint fOrigin;
386 SkMetaData* fMetaData; 386 SkMetaData* fMetaData;
387 387
388 #ifdef SK_DEBUG 388 #ifdef SK_DEBUG
389 bool fAttachedToCanvas; 389 bool fAttachedToCanvas;
390 #endif 390 #endif
391 391
392 typedef SkRefCnt INHERITED; 392 typedef SkRefCnt INHERITED;
393 }; 393 };
394 394
395 #endif 395 #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