2011-07-28 14:26:00 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2010 Google Inc.
|
|
|
|
*
|
|
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
|
|
* found in the LICENSE file.
|
2010-12-22 21:39:39 +00:00
|
|
|
*/
|
|
|
|
|
2011-01-19 13:19:27 +00:00
|
|
|
#ifndef GrUserConfig_DEFINED
|
|
|
|
#define GrUserConfig_DEFINED
|
|
|
|
|
|
|
|
#if defined(GR_USER_CONFIG_FILE)
|
|
|
|
#error "default user config pulled in but GR_USER_CONFIG_FILE is defined."
|
|
|
|
#endif
|
|
|
|
|
2013-02-08 21:22:44 +00:00
|
|
|
/**
|
2014-05-07 20:51:05 +00:00
|
|
|
* This gives a threshold in bytes of when to map a GrGeometryBuffer vs using
|
2011-10-10 14:49:29 +00:00
|
|
|
* updateData. (Note the depending on the underlying 3D API the update functions
|
2014-05-07 20:51:05 +00:00
|
|
|
* may always be implemented using a map)
|
2011-02-14 16:51:21 +00:00
|
|
|
*/
|
2014-05-07 20:51:05 +00:00
|
|
|
//#define GR_GEOM_BUFFER_MAP_THRESHOLD (1<<15)
|
2011-02-14 16:51:21 +00:00
|
|
|
|
2010-12-22 21:39:39 +00:00
|
|
|
#endif
|