Edit

kc3-lang/angle/include/GLES2/gl2platform.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/GLES2/gl2platform.h
  • #ifndef __gl2platform_h_
    #define __gl2platform_h_
    
    /* $Revision: 23328 $ on $Date:: 2013-10-02 02:28:28 -0700 #$ */
    
    /*
     * This document is licensed under the SGI Free Software B License Version
     * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
     */
    
    /* Platform-specific types and definitions for OpenGL ES 2.X  gl2.h
     *
     * Adopters may modify khrplatform.h and this file to suit their platform.
     * You are encouraged to submit all modifications to the Khronos group so that
     * they can be included in future versions of this file.  Please submit changes
     * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla)
     * by filing a bug against product "OpenGL-ES" component "Registry".
     */
    
    #include <KHR/khrplatform.h>
    
    #ifndef GL_APICALL
    #define GL_APICALL  KHRONOS_APICALL
    #endif
    
    #ifndef GL_APIENTRY
    #define GL_APIENTRY KHRONOS_APIENTRY
    #endif
    
    #endif /* __gl2platform_h_ */