1 //
2 // Copyright 2014 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6 // angle_gl.h:
7 //   Includes all necessary GL headers and definitions for ANGLE.
8 //
9 
10 #ifndef ANGLEGL_H_
11 #define ANGLEGL_H_
12 
13 #include "GLES/gl.h"
14 #include "GLES/glext.h"
15 #include "GLES2/gl2.h"
16 #include "GLES2/gl2ext.h"
17 #include "GLES3/gl3.h"
18 #include "GLES3/gl31.h"
19 #include "GLES3/gl32.h"
20 
21 // TODO(http://anglebug.com/3730): Autogenerate these enums from gl.xml
22 // HACK: Defines for queries that are not in GLES
23 #define GL_CONTEXT_PROFILE_MASK 0x9126
24 #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
25 #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001
26 
27 #endif  // ANGLEGL_H_
28