Edit

kc3-lang/angle/include/angle_gl.h

Branch :

  • Show log

    Commit

  • Author : Geoff Lang
    Date : 2015-09-15 13:12:07
    Hash : ee48376c
    Message : Update to the latest versions of the GL and EGL headers. Add GLES 3.1 and 3.2 headers. Remove GLES 3.0 extension headers and entry point files. Re-land fixes double define from different style defines in libGLESv2.gypi and other projects. Re-land fixes missing defines in angle_util project in gn. Change-Id: I1952413cd4390e6f5450df809f8f5867bf6f49e2 Reviewed-on: https://chromium-review.googlesource.com/299771 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org> Tested-by: Geoff Lang <geofflang@chromium.org>

  • include/angle_gl.h
  • //
    // 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 ANGLEGL_H_
    #define ANGLEGL_H_
    
    #include "GLES2/gl2.h"
    #include "GLES2/gl2ext.h"
    #include "GLES3/gl3.h"
    #include "GLES3/gl31.h"
    #include "GLES3/gl32.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 // ANGLEGL_H_