blob: 4ff95f73b5c79c156747dd77b5e0b027c0ae40aa [file] [log] [blame]
reed@google.com117cc392011-01-19 13:19:27 +00001/*
epoger@google.comec3ed6a2011-07-28 14:26:00 +00002 * 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.com117cc392011-01-19 13:19:27 +00006 */
7
reed@google.comac10a2d2010-12-22 21:39:39 +00008#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.com64386952013-02-08 21:22:44 +000015/**
commit-bot@chromium.org8341eb72014-05-07 20:51:05 +000016 * This gives a threshold in bytes of when to map a GrGeometryBuffer vs using
bsalomon@google.com96e96df2011-10-10 14:49:29 +000017 * updateData. (Note the depending on the underlying 3D API the update functions
commit-bot@chromium.org8341eb72014-05-07 20:51:05 +000018 * may always be implemented using a map)
bsalomon@google.com1c13c962011-02-14 16:51:21 +000019 */
commit-bot@chromium.org8341eb72014-05-07 20:51:05 +000020//#define GR_GEOM_BUFFER_MAP_THRESHOLD (1<<15)
bsalomon@google.com1c13c962011-02-14 16:51:21 +000021
reed@google.comac10a2d2010-12-22 21:39:39 +000022#endif