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

Side by Side Diff: include/utils/SkDeferredCanvas.h

Issue 726923002: Enable unused param checking for public includes. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 6 years, 1 month 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/utils/SkCamera.h ('k') | include/views/SkView.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 2012 Google Inc. 2 * Copyright 2012 Google Inc.
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 SkDeferredCanvas_DEFINED 8 #ifndef SkDeferredCanvas_DEFINED
9 #define SkDeferredCanvas_DEFINED 9 #define SkDeferredCanvas_DEFINED
10 10
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 * once per flush when deferred rendering is enabled. 215 * once per flush when deferred rendering is enabled.
216 */ 216 */
217 virtual void prepareForDraw() {} 217 virtual void prepareForDraw() {}
218 218
219 /** 219 /**
220 * Called after a recording a draw command if additional memory 220 * Called after a recording a draw command if additional memory
221 * had to be allocated for recording. 221 * had to be allocated for recording.
222 * @param newAllocatedStorage same value as would be returned by 222 * @param newAllocatedStorage same value as would be returned by
223 * storageAllocatedForRecording(), for convenience. 223 * storageAllocatedForRecording(), for convenience.
224 */ 224 */
225 virtual void storageAllocatedForRecordingChanged( 225 virtual void storageAllocatedForRecordingChanged(size_t /*newAllocatedSt orage*/) {}
226 size_t newAllocatedStorage) {}
227 226
228 /** 227 /**
229 * Called after pending draw commands have been flushed 228 * Called after pending draw commands have been flushed
230 */ 229 */
231 virtual void flushedDrawCommands() {} 230 virtual void flushedDrawCommands() {}
232 231
233 /** 232 /**
234 * Called after pending draw commands have been skipped, meaning 233 * Called after pending draw commands have been skipped, meaning
235 * that they were optimized-out because the canvas is cleared 234 * that they were optimized-out because the canvas is cleared
236 * or completely overwritten by the command currently being recorded. 235 * or completely overwritten by the command currently being recorded.
(...skipping 20 matching lines...) Expand all
257 256
258 mutable SkISize fCachedCanvasSize; 257 mutable SkISize fCachedCanvasSize;
259 mutable bool fCachedCanvasSizeDirty; 258 mutable bool fCachedCanvasSizeDirty;
260 259
261 friend class SkDeferredCanvasTester; // for unit testing 260 friend class SkDeferredCanvasTester; // for unit testing
262 typedef SkCanvas INHERITED; 261 typedef SkCanvas INHERITED;
263 }; 262 };
264 263
265 264
266 #endif 265 #endif
OLDNEW
« no previous file with comments | « include/utils/SkCamera.h ('k') | include/views/SkView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698