xref: /aosp_15_r20/external/angle/include/CL/README.md (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1*8975f5c5SAndroid Build Coastguard Worker# ANGLE OpenCL Headers
2*8975f5c5SAndroid Build Coastguard Worker
3*8975f5c5SAndroid Build Coastguard WorkerThe OpenCL headers ANGLE uses are the original headers from Khronos.
4*8975f5c5SAndroid Build Coastguard Worker
5*8975f5c5SAndroid Build Coastguard Worker### Updating headers
6*8975f5c5SAndroid Build Coastguard Worker
7*8975f5c5SAndroid Build Coastguard Worker1. Clone [https://github.com/KhronosGroup/OpenCL-Headers.git](https://github.com/KhronosGroup/OpenCL-Headers.git).
8*8975f5c5SAndroid Build Coastguard Worker1. Inspect the differences between all headers from `OpenCL-Headers/CL/` and this folder.
9*8975f5c5SAndroid Build Coastguard Worker   * Changes of supported enums have to be updated in `src/common/packed_cl_enums.json`.
10*8975f5c5SAndroid Build Coastguard Worker   * Changes of supported entry points have to be updated in `src/libGLESv2/cl_stubs.cpp`.
11*8975f5c5SAndroid Build Coastguard Worker1. Copy all headers from `OpenCL-Headers/CL/` over to this folder.
12