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

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

Issue 1160003004: small CL to experiment with 'disabling' memory mapping (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | 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 /* 2 /*
3 * Copyright 2010 Google Inc. 3 * Copyright 2010 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 10
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 #endif 202 #endif
203 #endif 203 #endif
204 204
205 /** 205 /**
206 * GR_GEOM_BUFFER_MAP_THRESHOLD gives a threshold (in bytes) for when Gr should 206 * GR_GEOM_BUFFER_MAP_THRESHOLD gives a threshold (in bytes) for when Gr should
207 * map a GrGeometryBuffer to update its contents. It will use map() if the 207 * map a GrGeometryBuffer to update its contents. It will use map() if the
208 * size of the updated region is greater than the threshold. Otherwise it will 208 * size of the updated region is greater than the threshold. Otherwise it will
209 * use updateData(). 209 * use updateData().
210 */ 210 */
211 #if !defined(GR_GEOM_BUFFER_MAP_THRESHOLD) 211 #if !defined(GR_GEOM_BUFFER_MAP_THRESHOLD)
212 #define GR_GEOM_BUFFER_MAP_THRESHOLD (1 << 15) 212 #define GR_GEOM_BUFFER_MAP_THRESHOLD (1 << 30)
213 #endif 213 #endif
214 214
215 /** 215 /**
216 * GR_STROKE_PATH_RENDERING controls whether or not the GrStrokePathRenderer can be selected 216 * GR_STROKE_PATH_RENDERING controls whether or not the GrStrokePathRenderer can be selected
217 * as a path renderer. GrStrokePathRenderer is currently an experimental path re nderer. 217 * as a path renderer. GrStrokePathRenderer is currently an experimental path re nderer.
218 */ 218 */
219 #if !defined(GR_STROKE_PATH_RENDERING) 219 #if !defined(GR_STROKE_PATH_RENDERING)
220 #define GR_STROKE_PATH_RENDERING 0 220 #define GR_STROKE_PATH_RENDERING 0
221 #endif 221 #endif
222 222
(...skipping 11 matching lines...) Expand all
234 234
235 /** 235 /**
236 * GR_FORCE_GPU_TRACE_DEBUGGING will force gpu tracing/debug markers to be turne d on. The trace 236 * GR_FORCE_GPU_TRACE_DEBUGGING will force gpu tracing/debug markers to be turne d on. The trace
237 * markers will be printed out instead of making the backend calls to push and p op them. 237 * markers will be printed out instead of making the backend calls to push and p op them.
238 */ 238 */
239 #if !defined(GR_FORCE_GPU_TRACE_DEBUGGING) 239 #if !defined(GR_FORCE_GPU_TRACE_DEBUGGING)
240 #define GR_FORCE_GPU_TRACE_DEBUGGING 0 240 #define GR_FORCE_GPU_TRACE_DEBUGGING 0
241 #endif 241 #endif
242 242
243 #endif 243 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698