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

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

Issue 1010023002: FilterLevel -> SkFilterQuality (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 9 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 | « debugger/SkDebugger.h ('k') | no next file » | 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 2006 The Android Open Source Project 2 * Copyright 2006 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 SkGraphics_DEFINED 8 #ifndef SkGraphics_DEFINED
9 #define SkGraphics_DEFINED 9 #define SkGraphics_DEFINED
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 static int SetFontCacheCountLimit(int count); 71 static int SetFontCacheCountLimit(int count);
72 72
73 /** 73 /**
74 * For debugging purposes, this will attempt to purge the font cache. It 74 * For debugging purposes, this will attempt to purge the font cache. It
75 * does not change the limit, but will cause subsequent font measures and 75 * does not change the limit, but will cause subsequent font measures and
76 * draws to be recreated, since they will no longer be in the cache. 76 * draws to be recreated, since they will no longer be in the cache.
77 */ 77 */
78 static void PurgeFontCache(); 78 static void PurgeFontCache();
79 79
80 /** 80 /**
81 * Scaling bitmaps with the SkPaint::kHigh_FilterLevel setting is 81 * Scaling bitmaps with the kHigh_SkFilterQuality setting is
82 * expensive, so the result is saved in the global Scaled Image 82 * expensive, so the result is saved in the global Scaled Image
83 * Cache. 83 * Cache.
84 * 84 *
85 * This function returns the memory usage of the Scaled Image Cache. 85 * This function returns the memory usage of the Scaled Image Cache.
86 */ 86 */
87 static size_t GetResourceCacheTotalBytesUsed(); 87 static size_t GetResourceCacheTotalBytesUsed();
88 88
89 /** 89 /**
90 * These functions get/set the memory usage limit for the resource cache, u sed for temporary 90 * These functions get/set the memory usage limit for the resource cache, u sed for temporary
91 * bitmaps and other resources. Entries are purged from the cache when the memory useage 91 * bitmaps and other resources. Entries are purged from the cache when the memory useage
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 public: 146 public:
147 SkAutoGraphics() { 147 SkAutoGraphics() {
148 SkGraphics::Init(); 148 SkGraphics::Init();
149 } 149 }
150 ~SkAutoGraphics() { 150 ~SkAutoGraphics() {
151 SkGraphics::Term(); 151 SkGraphics::Term();
152 } 152 }
153 }; 153 };
154 154
155 #endif 155 #endif
OLDNEW
« no previous file with comments | « debugger/SkDebugger.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698