diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-16 17:57:36 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-16 17:57:36 +0000 |
commit | 86be5d085562b134a353faffe5c737470f0a1788 (patch) | |
tree | 5f126b106b49c24711c56c97890e129a3c794e8d /gpu/GLES2 | |
parent | 14055fca73ef88666127f1f9c3b1c62d2ea683f7 (diff) | |
download | chromium_src-86be5d085562b134a353faffe5c737470f0a1788.zip chromium_src-86be5d085562b134a353faffe5c737470f0a1788.tar.gz chromium_src-86be5d085562b134a353faffe5c737470f0a1788.tar.bz2 |
Move code around to fix build with system mesa.
BUG=161389
Review URL: https://codereview.chromium.org/11973003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177172 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/GLES2')
-rw-r--r-- | gpu/GLES2/gl2chromium_constants.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gpu/GLES2/gl2chromium_constants.h b/gpu/GLES2/gl2chromium_constants.h new file mode 100644 index 0000000..0e3b422 --- /dev/null +++ b/gpu/GLES2/gl2chromium_constants.h @@ -0,0 +1,23 @@ +// Copyright (c) 2013 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// This file contains some GLES2 constants. There is a Chromium-specific need +// to have them in a separate file. + +#ifndef GPU_GLES2_GL2CHROMIUM_CONSTANTS_H_ +#define GPU_GLES2_GL2CHROMIUM_CONSTANTS_H_ + +#ifndef GL_DEPTH24_STENCIL8 +#define GL_DEPTH24_STENCIL8 0x88F0 +#endif + +/* GL_EXT_discard_framebuffer */ +#ifndef GL_EXT_discard_framebuffer +#define GL_COLOR_EXT 0x1800 +#define GL_DEPTH_EXT 0x1801 +#define GL_STENCIL_EXT 0x1802 +#endif + +#endif // GPU_GLES2_GL2CHROMIUM_CONSTANTS_H_ + |