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

Side by Side Diff: include/gpu/GrUserConfig.h

Issue 275493004: Rename from "(un)lock" to "(un)map" for geometry buffers. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Address Rob's comments 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 | « include/gpu/GrConfig.h ('k') | src/gpu/GrAAHairLinePathRenderer.cpp » ('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 2010 Google Inc. 2 * Copyright 2010 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 GrUserConfig_DEFINED 8 #ifndef GrUserConfig_DEFINED
9 #define GrUserConfig_DEFINED 9 #define GrUserConfig_DEFINED
10 10
11 #if defined(GR_USER_CONFIG_FILE) 11 #if defined(GR_USER_CONFIG_FILE)
12 #error "default user config pulled in but GR_USER_CONFIG_FILE is defined." 12 #error "default user config pulled in but GR_USER_CONFIG_FILE is defined."
13 #endif 13 #endif
14 14
15 /** 15 /**
16 * This gives a threshold in bytes of when to lock a GrGeometryBuffer vs using 16 * This gives a threshold in bytes of when to map a GrGeometryBuffer vs using
17 * updateData. (Note the depending on the underlying 3D API the update functions 17 * updateData. (Note the depending on the underlying 3D API the update functions
18 * may always be implemented using a lock) 18 * may always be implemented using a map)
19 */ 19 */
20 //#define GR_GEOM_BUFFER_LOCK_THRESHOLD (1<<15) 20 //#define GR_GEOM_BUFFER_MAP_THRESHOLD (1<<15)
21 21
22 /** 22 /**
23 * This gives a threshold in megabytes for the maximum size of the texture cache 23 * This gives a threshold in megabytes for the maximum size of the texture cache
24 * in vram. The value is only a default and can be overridden at runtime. 24 * in vram. The value is only a default and can be overridden at runtime.
25 */ 25 */
26 //#define GR_DEFAULT_RESOURCE_CACHE_MB_LIMIT 96 26 //#define GR_DEFAULT_RESOURCE_CACHE_MB_LIMIT 96
27 27
28 /** 28 /**
29 * This specifies the maximum number of textures the texture cache can hold 29 * This specifies the maximum number of textures the texture cache can hold
30 * in vram. The value is only a default and can be overridden at runtime. 30 * in vram. The value is only a default and can be overridden at runtime.
31 */ 31 */
32 //#define GR_DEFAULT_RESOURCE_CACHE_COUNT_LIMIT 2048 32 //#define GR_DEFAULT_RESOURCE_CACHE_COUNT_LIMIT 2048
33 33
34 #endif 34 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrConfig.h ('k') | src/gpu/GrAAHairLinePathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698