reed@google.com | 117cc39 | 2011-01-19 13:19:27 +0000 | [diff] [blame] | 1 | /* |
epoger@google.com | ec3ed6a | 2011-07-28 14:26:00 +0000 | [diff] [blame] | 2 | * Copyright 2010 Google Inc. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
reed@google.com | 117cc39 | 2011-01-19 13:19:27 +0000 | [diff] [blame] | 6 | */ |
| 7 | |
reed@google.com | ac10a2d | 2010-12-22 21:39:39 +0000 | [diff] [blame] | 8 | #ifndef GrUserConfig_DEFINED |
| 9 | #define GrUserConfig_DEFINED |
| 10 | |
| 11 | #if defined(GR_USER_CONFIG_FILE) |
| 12 | #error "default user config pulled in but GR_USER_CONFIG_FILE is defined." |
| 13 | #endif |
| 14 | |
bsalomon@google.com | 6438695 | 2013-02-08 21:22:44 +0000 | [diff] [blame] | 15 | /** |
commit-bot@chromium.org | 8341eb7 | 2014-05-07 20:51:05 +0000 | [diff] [blame] | 16 | * This gives a threshold in bytes of when to map a GrGeometryBuffer vs using |
bsalomon@google.com | 96e96df | 2011-10-10 14:49:29 +0000 | [diff] [blame] | 17 | * updateData. (Note the depending on the underlying 3D API the update functions |
commit-bot@chromium.org | 8341eb7 | 2014-05-07 20:51:05 +0000 | [diff] [blame] | 18 | * may always be implemented using a map) |
bsalomon@google.com | 1c13c96 | 2011-02-14 16:51:21 +0000 | [diff] [blame] | 19 | */ |
commit-bot@chromium.org | 8341eb7 | 2014-05-07 20:51:05 +0000 | [diff] [blame] | 20 | //#define GR_GEOM_BUFFER_MAP_THRESHOLD (1<<15) |
bsalomon@google.com | 1c13c96 | 2011-02-14 16:51:21 +0000 | [diff] [blame] | 21 | |
reed@google.com | ac10a2d | 2010-12-22 21:39:39 +0000 | [diff] [blame] | 22 | #endif |