1 /* 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. 6 */ 7 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 15 /** 16 * This gives a threshold in bytes of when to map a GrGeometryBuffer vs using 17 * updateData. (Note the depending on the underlying 3D API the update functions 18 * may always be implemented using a map) 19 */ 20 //#define GR_GEOM_BUFFER_MAP_THRESHOLD (1<<15) 21 22 #endif 23