OLD | NEW |
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 Loading... |
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 << 30) | 212 #define GR_GEOM_BUFFER_MAP_THRESHOLD (1 << 15) |
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 Loading... |
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 |
OLD | NEW |