This page describes how to add new extensions to ANGLE.
For extensions requiring new entry points:
Add the extension xml to this file: https://source.chromium.org/chromium/chromium/src/+/master:third_party/angle/scripts/egl_angle_ext.xml
Note the prototypes for the new entry points must be added to the top of the file, and the functions themselves grouped under the extension name to the bottom of the file.
scripts/registry_xml.py to add the new extension as needed.
The entry point itself goes in the entry_points_egl_ext.h and cpp files.
Update eglext_angle.h with the new entry points and/or enums.
Add members to the appropriate Extensions struct in Caps.h
Initialize extension availability in the
generateExtensions method for displays that can support the extension.