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

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

Issue 1062353002: Revert of SkCanvas::resetForNextPicture() (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 years, 8 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/SkCanvas.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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 143
144 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override; 144 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
145 145
146 SkSurface* newSurface(const SkImageInfo&, const SkSurfaceProps&) override; 146 SkSurface* newSurface(const SkImageInfo&, const SkSurfaceProps&) override;
147 const void* peekPixels(SkImageInfo*, size_t* rowBytes) override; 147 const void* peekPixels(SkImageInfo*, size_t* rowBytes) override;
148 148
149 SkImageFilter::Cache* getImageFilterCache() override; 149 SkImageFilter::Cache* getImageFilterCache() override;
150 150
151 SkBitmap fBitmap; 151 SkBitmap fBitmap;
152 152
153 void setNewSize(const SkISize&); // Used by SkCanvas for resetForNextPictur e().
154
155 typedef SkBaseDevice INHERITED; 153 typedef SkBaseDevice INHERITED;
156 }; 154 };
157 155
158 #endif // SkBitmapDevice_DEFINED 156 #endif // SkBitmapDevice_DEFINED
OLDNEW
« no previous file with comments | « no previous file | include/core/SkCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698