• Show log

    Commit

  • Hash : 2489a0c1
    Author : John Plate
    Date : 2021-04-06T14:55:11

    Fixed OpenCL headers for Windows
    
    Bug: angleproject:5761
    Change-Id: I29d1fd3bf862728a3e78418a4f98219828394452
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2807717
    Commit-Queue: John Plate <jplate@google.com>
    Reviewed-by: Cody Northrop <cnorthrop@google.com>
    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 OpenCL Headers

    The OpenCL headers ANGLE uses are the original headers from Khronos, but they are modified to allow the macro CL_API_ENTRY to be overridden externally.

    The modifications have been submitted to Khronos, and this document should be updated after they are merged.

    Regenerating headers

    1. Clone https://github.com/KhronosGroup/OpenCL-Headers.git.

    2. Copy all headers from OpenCL-Headers/CL/ over to this folder.

    3. Edit the headers:

      • Change all occurences of typedef CL_API_ENTRY to typedef.

      • In cl_platform.h change both #define CL_API_ENTRY to

               #if !defined(CL_API_ENTRY)
                   #define CL_API_ENTRY
               #endif