Edit

kc3-lang/angle/include/EGL

Branch :

  • Show log

    Commit

  • Author : Jonah Ryan-Davis
    Date : 2019-05-23 13:52:52
    Hash : f52f2637
    Message : Add EGL_ANGLE_workaround_control extension. This extension is used to query strings from an array based on index, which will be used to query all the information about workarounds in ANGLE. Bug: angleproject:1621 Change-Id: I27157f278f7f17c92c8b4fd7753e2a5ecd0528f6 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1627723 Commit-Queue: Jonah Ryan-Davis <jonahr@google.com> Reviewed-by: Jamie Madill <jmadill@chromium.org>

  • 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 scripts/egl.xml with the latest version from EGL-Registry/api/.