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

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

Issue 286273002: Optimize CSS box-shadow performance by caching the SkMask of the blur effect. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: add mutex for thread-safe and use SkDiscardableMemory Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | include/core/SkMask.h » ('j') | src/core/SkMaskFilter.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 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 SkDiscardableMemory_DEFINED 8 #ifndef SkDiscardableMemory_DEFINED
9 #define SkDiscardableMemory_DEFINED 9 #define SkDiscardableMemory_DEFINED
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 virtual void* data() = 0; 56 virtual void* data() = 0;
57 57
58 /** 58 /**
59 * Unlock the memory so that it can be purged by the system. Must be called 59 * Unlock the memory so that it can be purged by the system. Must be called
60 * after every successful lock call. 60 * after every successful lock call.
61 */ 61 */
62 virtual void unlock() = 0; 62 virtual void unlock() = 0;
63 }; 63 };
64 64
65 #endif 65 #endif
OLDNEW
« no previous file with comments | « no previous file | include/core/SkMask.h » ('j') | src/core/SkMaskFilter.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698