blob: 55048fd97de0230f2802b1e31efd1fad55044e6b [file] [log] [blame]
epoger@google.comec3ed6a2011-07-28 14:26:00 +00001
2/*
3 * Copyright 2011 Google Inc.
4 *
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
7 */
reed@google.combf858b72011-01-19 19:04:04 +00008#ifndef GrGLConfig_chrome_DEFINED
9#define GrGLConfig_chrome_DEFINED
10
reed@google.com664a8432011-01-25 15:24:55 +000011// chrome always assumes BGRA
bsalomon@google.com4be283f2011-04-19 21:15:09 +000012#define GR_GL_32BPP_COLOR_FORMAT GR_GL_BGRA
reed@google.combf858b72011-01-19 19:04:04 +000013
bsalomon@google.com3723a482011-02-17 21:47:25 +000014// glGetError() forces a sync with gpu process on chrome
bsalomon@google.com4be283f2011-04-19 21:15:09 +000015#define GR_GL_CHECK_ERROR_START 0
16
17// ANGLE creates a temp VB for vertex attributes not specified per-vertex.
18#define GR_GL_NO_CONSTANT_ATTRIBUTES GR_WIN32_BUILD
bsalomon@google.com3723a482011-02-17 21:47:25 +000019
bsalomon@google.com9ae44292011-07-01 15:21:59 +000020// cmd buffer allocates memory and memsets it to zero when it sees glBufferData
21// with NULL.
22#define GR_GL_USE_BUFFER_DATA_NULL_HINT 0
23
reed@google.combf858b72011-01-19 19:04:04 +000024#endif