| 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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 /** | 337 /** |
| 338 * GR_DEFAULT_TEXTURE_CACHE_MB_LIMIT gives a threshold (in megabytes) for the | 338 * GR_DEFAULT_TEXTURE_CACHE_MB_LIMIT gives a threshold (in megabytes) for the |
| 339 * maximum size of the texture cache in vram. The value is only a default and | 339 * maximum size of the texture cache in vram. The value is only a default and |
| 340 * can be overridden at runtime. | 340 * can be overridden at runtime. |
| 341 */ | 341 */ |
| 342 #if !defined(GR_DEFAULT_TEXTURE_CACHE_MB_LIMIT) | 342 #if !defined(GR_DEFAULT_TEXTURE_CACHE_MB_LIMIT) |
| 343 #define GR_DEFAULT_TEXTURE_CACHE_MB_LIMIT 96 | 343 #define GR_DEFAULT_TEXTURE_CACHE_MB_LIMIT 96 |
| 344 #endif | 344 #endif |
| 345 | 345 |
| 346 /** | 346 /** |
| 347 * GR_USE_NEW_GL_SHADER_SOURCE_SIGNATURE is for compatibility with the new versi
on | |
| 348 * of the OpenGLES2.0 headers from Khronos. glShaderSource now takes a const ch
ar * const *, | |
| 349 * instead of a const char **. | |
| 350 */ | |
| 351 #if !defined(GR_USE_NEW_GL_SHADER_SOURCE_SIGNATURE) | |
| 352 #define GR_USE_NEW_GL_SHADER_SOURCE_SIGNATURE 0 | |
| 353 #endif | |
| 354 | |
| 355 /** | |
| 356 * GR_STROKE_PATH_RENDERING controls whether or not the GrStrokePathRenderer can
be selected | 347 * GR_STROKE_PATH_RENDERING controls whether or not the GrStrokePathRenderer can
be selected |
| 357 * as a path renderer. GrStrokePathRenderer is currently an experimental path re
nderer. | 348 * as a path renderer. GrStrokePathRenderer is currently an experimental path re
nderer. |
| 358 */ | 349 */ |
| 359 #if !defined(GR_STROKE_PATH_RENDERING) | 350 #if !defined(GR_STROKE_PATH_RENDERING) |
| 360 #define GR_STROKE_PATH_RENDERING 0 | 351 #define GR_STROKE_PATH_RENDERING 0 |
| 361 #endif | 352 #endif |
| 362 | 353 |
| 363 /////////////////////////////////////////////////////////////////////////////// | 354 /////////////////////////////////////////////////////////////////////////////// |
| 364 // tail section: | 355 // tail section: |
| 365 // | 356 // |
| (...skipping 27 matching lines...) Expand all Loading... |
| 393 #endif | 384 #endif |
| 394 #if GR_LINUX_BUILD | 385 #if GR_LINUX_BUILD |
| 395 // #pragma message GR_WARN("GR_LINUX_BUILD") | 386 // #pragma message GR_WARN("GR_LINUX_BUILD") |
| 396 #endif | 387 #endif |
| 397 #if GR_QNX_BUILD | 388 #if GR_QNX_BUILD |
| 398 // #pragma message GR_WARN("GR_QNX_BUILD") | 389 // #pragma message GR_WARN("GR_QNX_BUILD") |
| 399 #endif | 390 #endif |
| 400 #endif | 391 #endif |
| 401 | 392 |
| 402 #endif | 393 #endif |
| OLD | NEW |