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: skia/skia_common.gypi

Issue 110863003: skia: Use discardable memory for scaled image cache. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use SkGraphics::SetImageCacheByteLimit instead of SkScaledImageCache::SetByteLimit. Created 6 years, 11 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 | « content/renderer/render_thread_impl.cc ('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 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # This gypi file handles the removal of platform-specific files from the 5 # This gypi file handles the removal of platform-specific files from the
6 # Skia build. 6 # Skia build.
7 { 7 {
8 'include_dirs': [ 8 'include_dirs': [
9 '..', 9 '..',
10 'config', 10 'config',
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 'IGNORE_ROT_AA_RECT_OPT', 184 'IGNORE_ROT_AA_RECT_OPT',
185 185
186 'SK_IGNORE_BLURRED_RRECT_OPT', 186 'SK_IGNORE_BLURRED_RRECT_OPT',
187 187
188 'SK_IGNORE_QUAD_RR_CORNERS_OPT', 188 'SK_IGNORE_QUAD_RR_CORNERS_OPT',
189 189
190 # this flag forces Skia not to use typographic metrics with GDI. 190 # this flag forces Skia not to use typographic metrics with GDI.
191 'SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS', 191 'SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS',
192 192
193 'SK_DEFAULT_FONT_CACHE_LIMIT=<(default_font_cache_limit)', 193 'SK_DEFAULT_FONT_CACHE_LIMIT=<(default_font_cache_limit)',
194
195 'SK_USE_DISCARDABLE_SCALEDIMAGECACHE',
194 ], 196 ],
195 197
196 'direct_dependent_settings': { 198 'direct_dependent_settings': {
197 'defines': [ 199 'defines': [
198 '<@(skia_export_defines)', 200 '<@(skia_export_defines)',
199 ], 201 ],
200 }, 202 },
201 203
202 # We would prefer this to be direct_dependent_settings, 204 # We would prefer this to be direct_dependent_settings,
203 # however we currently have no means to enforce that direct dependents 205 # however we currently have no means to enforce that direct dependents
204 # re-export if they include Skia headers in their public headers. 206 # re-export if they include Skia headers in their public headers.
205 'all_dependent_settings': { 207 'all_dependent_settings': {
206 'include_dirs': [ 208 'include_dirs': [
207 '..', 209 '..',
208 'config', 210 'config',
209 ], 211 ],
210 }, 212 },
211 213
212 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], 214 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800],
213 } 215 }
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698