| 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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 * in the GPU backend are always allocated on the heap or are allowed to be | 225 * in the GPU backend are always allocated on the heap or are allowed to be |
| 226 * allocated on the stack for smaller memory requests. | 226 * allocated on the stack for smaller memory requests. |
| 227 * | 227 * |
| 228 * This is only used for memory buffers that are created and then passed through
to the | 228 * This is only used for memory buffers that are created and then passed through
to the |
| 229 * 3D API (e.g. as texture or geometry data) | 229 * 3D API (e.g. as texture or geometry data) |
| 230 */ | 230 */ |
| 231 #if !defined(GR_ALWAYS_ALLOCATE_ON_HEAP) | 231 #if !defined(GR_ALWAYS_ALLOCATE_ON_HEAP) |
| 232 #define GR_ALWAYS_ALLOCATE_ON_HEAP 0 | 232 #define GR_ALWAYS_ALLOCATE_ON_HEAP 0 |
| 233 #endif | 233 #endif |
| 234 | 234 |
| 235 /** |
| 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. |
| 238 */ |
| 239 #if !defined(GR_FORCE_GPU_TRACE_DEBUGGING) |
| 240 #define GR_FORCE_GPU_TRACE_DEBUGGING 0 |
| 235 #endif | 241 #endif |
| 242 |
| 243 #endif |
| OLD | NEW |