dawn-cmake/generator
Corentin Wallez df69f24824 OpenGL: Don't use glad to load OpenGL entrypoints
This makes the OpenGL entry points loaded at Adapter creation from the
getProcAddress passed in the DiscoveryOptions and update all GL calls in
the backend to go through the new OpenGLFunctions object.

A code generator is added that generates the function loader and list of
GL procs from Khronos' gl.xml file but we can't get rid of glad yet
because it is used to have the PROC typedefs and enum values.

BUG=dawn:165

Change-Id: I2a583d79752f55877fa4190846f5be16cf91651a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/7983
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2019-06-13 10:22:32 +00:00
..
templates OpenGL: Don't use glad to load OpenGL entrypoints 2019-06-13 10:22:32 +00:00
dawn_generator.gni OpenGL: Don't use glad to load OpenGL entrypoints 2019-06-13 10:22:32 +00:00
dawn_json_generator.py Generators: main.py is now dawn_json_generator.py 2019-06-11 18:03:05 +00:00
extract_json.py BUILD.gn: Remove use of exec_script 2018-08-20 07:24:55 -04:00
generator_lib.py OpenGL: Don't use glad to load OpenGL entrypoints 2019-06-13 10:22:32 +00:00
opengl_loader_generator.py OpenGL: Don't use glad to load OpenGL entrypoints 2019-06-13 10:22:32 +00:00