mirror of
https://github.com/utmapp/angle.git
synced 2026-12-01 14:00:09 -10:00
A common place to define required GL includes gives us a nice point to centralize GL customizations. In the header currently are the basic GLES headers with extensions, and a define carried over from desktop GL. BUG=angle:466 Change-Id: I6fc61947b4514654ec21355a786904eac04656c0 Reviewed-on: https://chromium-review.googlesource.com/204936 Tested-by: Jamie Madill <[email protected]> Reviewed-by: Zhenyao Mo <[email protected]> Reviewed-by: Nicolas Capens <[email protected]>
24 lines
567 B
C
24 lines
567 B
C
//
|
|
// Copyright (c) 2014 The ANGLE Project Authors. All rights reserved.
|
|
// 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.
|
|
//
|
|
|
|
#ifndef ANGLE_GL_H_
|
|
#define ANGLE_GL_H_
|
|
|
|
#include "GLES2/gl2.h"
|
|
#include "GLES2/gl2ext.h"
|
|
#include "GLES3/gl3.h"
|
|
#include "GLES3/gl3ext.h"
|
|
|
|
// The following enum is used in ANGLE, but is from desktop GL
|
|
#ifndef GL_SAMPLER_2D_RECT_ARB
|
|
#define GL_SAMPLER_2D_RECT_ARB 0x8B63
|
|
#endif
|
|
|
|
#endif // ANGLE_GL_H_
|