This topic is intended for add-on developers who want to port their code to use the gpu module.
As discussed in BGL deprecation, the bgl module is at the end of its days and should be removed to give free way to a switchable drawing API in Blender (Vulkan + OpenGL).
To this end, patches are being proposed to extend the gpu API and make it possible for the bgl API to be replaced:
Feel free to comment on the patches, suggest changes and ask questions about how to replace the bgl module.
The documentation is updated automatically:
This topic will be updated as soon as new patches are proposed.