• Show log

    Commit

  • Hash : 9f088621
    Author : Yuly Novikov
    Date : 2018-12-29T20:46:15

    Revert "Load entry points dynamically in tests and samples."
    
    This reverts commit 03923558a7103827ffec6a4d2a1453ed91f01c6f.
    
    Reason for revert: fails compilation on Android, ChromeOS and Fuchsia during roll https://chromium-review.googlesource.com/c/chromium/src/+/1392624
    
    Original change's description:
    > Load entry points dynamically in tests and samples.
    > 
    > This CL adds a dynamic loader generator based on XML files. It also
    > refactors the entry point generation script to move the XML parsing
    > into a helper class.
    > 
    > Additionally this includes a new GLES 1.0 base header. The new
    > header allows for function pointer types and hiding prototypes.
    > 
    > All tests and samples now load ANGLE dynamically. In the future this
    > will be extended to load entry points from the driver directly when
    > possible. This will allow us to perform more accurate A/B testing.
    > 
    > The new build configuration leads to some tests having more warnings
    > applied. The CL includes fixes for the new warnings.
    > 
    > Bug: angleproject:2995
    > Change-Id: I6726d4163f7a6e54d2482f094c0a952f59702a05
    > Reviewed-on: https://chromium-review.googlesource.com/c/1359516
    > Commit-Queue: Jamie Madill <jmadill@chromium.org>
    > Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
    
    TBR=ynovikov@chromium.org,jmadill@chromium.org,syoussefi@chromium.org
    
    Change-Id: I902bec2d733c2b879be29c02ab52a0b7d4eaa077
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: angleproject:2995
    Reviewed-on: https://chromium-review.googlesource.com/c/1392381
    Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
    Commit-Queue: Yuly Novikov <ynovikov@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
    kc3_lang_org thodg_w www_kmx_io thodg_l thodg thodg_m
    Tags

  • README.md

  • ANGLE EGL Headers

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

    Regenerating EGL.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/EGL-Registry.git.

    3. Edit EGL-Registry/api/genheaders.py:

      1. Look for the section titled # EGL API - EGL/egl.h (no function pointers, yet @@@)
      2. Change genFuncPointers = False, to genFuncPointers = True,
      3. Change protectProto = False, to protectProto = 'nonzero',
      4. Change protectProtoStr = 'EGL_EGLEXT_PROTOTYPES', to protectProtoStr = 'EGL_EGL_PROTOTYPES',
    4. Set your working directory to EGL-Registry/api/.

    5. Run python genheaders.py -registry egl.xml EGL/egl.h

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

    7. Also update egl.xml with the latest version from EGL-Registry/api/.