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

Side by Side Diff: include/core/SkBitmapDevice.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 | « no previous file | 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 /* 2 /*
3 * Copyright 2013 Google Inc. 3 * Copyright 2013 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #ifndef SkBitmapDevice_DEFINED 9 #ifndef SkBitmapDevice_DEFINED
10 #define SkBitmapDevice_DEFINED 10 #define SkBitmapDevice_DEFINED
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 // used to change the backend's pixels (and possibly config/rowbytes) 149 // used to change the backend's pixels (and possibly config/rowbytes)
150 // but cannot change the width/height, so there should be no change to 150 // but cannot change the width/height, so there should be no change to
151 // any clip information. 151 // any clip information.
152 virtual void replaceBitmapBackendForRasterSurface(const SkBitmap&) SK_OVERRI DE; 152 virtual void replaceBitmapBackendForRasterSurface(const SkBitmap&) SK_OVERRI DE;
153 153
154 virtual SkBaseDevice* onCreateDevice(const SkImageInfo&, Usage) SK_OVERRIDE; 154 virtual SkBaseDevice* onCreateDevice(const SkImageInfo&, Usage) SK_OVERRIDE;
155 155
156 virtual SkSurface* newSurface(const SkImageInfo&) SK_OVERRIDE; 156 virtual SkSurface* newSurface(const SkImageInfo&) SK_OVERRIDE;
157 virtual const void* peekPixels(SkImageInfo*, size_t* rowBytes) SK_OVERRIDE; 157 virtual const void* peekPixels(SkImageInfo*, size_t* rowBytes) SK_OVERRIDE;
158 158
159 virtual SkImageFilter::UniqueIDCache* getImageFilterCache() SK_OVERRIDE;
160
159 SkBitmap fBitmap; 161 SkBitmap fBitmap;
160 162
161 typedef SkBaseDevice INHERITED; 163 typedef SkBaseDevice INHERITED;
162 }; 164 };
163 165
164 #endif // SkBitmapDevice_DEFINED 166 #endif // SkBitmapDevice_DEFINED
OLDNEW
« no previous file with comments | « no previous file | include/core/SkDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698