2014-06-26 00:04:57 +04:00
|
|
|
//
|
2019-08-14 22:25:12 +03:00
|
|
|
// Copyright 2014 The ANGLE Project Authors. All rights reserved.
|
2014-06-26 00:04:57 +04:00
|
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
//
|
|
|
|
// angle_gl.h:
|
|
|
|
// Includes all necessary GL headers and definitions for ANGLE.
|
|
|
|
//
|
|
|
|
|
2014-11-20 00:18:08 +03:00
|
|
|
#ifndef ANGLEGL_H_
|
|
|
|
#define ANGLEGL_H_
|
2014-06-26 00:04:57 +04:00
|
|
|
|
2018-01-13 01:17:27 +03:00
|
|
|
#include "GLES/gl.h"
|
|
|
|
#include "GLES/glext.h"
|
2014-06-26 00:04:57 +04:00
|
|
|
#include "GLES2/gl2.h"
|
|
|
|
#include "GLES2/gl2ext.h"
|
|
|
|
#include "GLES3/gl3.h"
|
2015-09-15 20:12:07 +03:00
|
|
|
#include "GLES3/gl31.h"
|
|
|
|
#include "GLES3/gl32.h"
|
2014-06-26 00:04:57 +04:00
|
|
|
|
2019-11-07 00:51:55 +03:00
|
|
|
// TODO(http://anglebug.com/3730): Autogenerate these enums from gl.xml
|
|
|
|
// HACK: Defines for queries that are not in GLES
|
|
|
|
#define GL_CONTEXT_PROFILE_MASK 0x9126
|
|
|
|
#define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
|
|
|
|
#define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001
|
|
|
|
|
2018-09-06 10:02:04 +03:00
|
|
|
#endif // ANGLEGL_H_
|