• Show log

    Commit

  • Hash : 232e5236
    Author : Geoff Lang
    Date : 2021-07-08T15:08:35

    Remove the explicit context extension.
    
    This extension currently has no known users and doubles the
    number of entry points that ANGLE exports which is a significant
    binary size cost.
    
    This saves about 130kb of binary size on Android.
    
    Bug: chromium:1084580
    Change-Id: Ib0fc4930b38a33bd61434f7d0030ba9fb9b93ba7
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3015518
    Commit-Queue: Geoff Lang <geofflang@chromium.org>
    Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: Jamie Madill <jmadill@chromium.org>
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/angle.git
    Git SSH git@git.kmx.io:kc3-lang/angle.git
    Public access ? public
    Description

    A conformant OpenGL ES implementation for Windows, Mac, Linux, iOS and Android.

    Homepage

    Github

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags

  • README.md

  • ANGLE GLES 1.0 Headers

    The GLES 1.0 headers ANGLE uses are generated using the Khronos tools but modified to include function pointer types and function prototype guards.

    Regenerating gl.h

    1. Install Python 3 (not 2) with the lxml addon. You can do this using pip install lxml from your Python’s Scripts folder.

    2. Clone https://github.com/KhronosGroup/OpenGL-Registry.git.

    3. Edit OpenGL-Registry/xml/genheaders.py:

      1. Look for the section titled # GLES 1.x API + mandatory extensions - GLES/gl.h (no function pointers)
      2. Change prefixText = prefixStrings + gles1PlatformStrings + genDateCommentString, to prefixText = prefixStrings + gles1PlatformStrings + apiEntryPrefixStrings + genDateCommentString,
      3. Change genFuncPointers = False, to genFuncPointers = True,
      4. Change protectProto = False, to protectProto = 'nonzero',
      5. Change protectProtoStr = 'GL_GLEXT_PROTOTYPES', to protectProtoStr = 'GL_GLES_PROTOTYPES',
    4. Set your working directory to OpenGL-Registry/xml/.

    5. Run python genheaders.py ../api/GLES/gl.h

    6. The generated header will now be in OpenGL-Registry/api/GLES/gl.h. You can copy the header over to this folder.

    7. Also update scripts/gl.xml with the latest version from OpenGL-Registry/xml/.