dawn-cmake/generator/templates
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
..
dawn_native Nuke Builders part 4: headers, proctable and miscreferences 2019-04-01 21:48:38 +00:00
dawn_wire dawn.json: Use void* instead of uint8_t* for data pointers 2019-06-06 16:19:15 +00:00
opengl OpenGL: Don't use glad to load OpenGL entrypoints 2019-06-13 10:22:32 +00:00
api.c Capitalize C types dawn -> Dawn 2019-03-11 16:52:42 +00:00
api.h Replace dawn::CallbackUserdata with void* 2019-05-29 13:03:50 +00:00
apicpp.cpp Implement CreateBufferMapped in dawn_native for MAP_WRITE buffers only. 2019-05-15 18:55:22 +00:00
apicpp.h Nuke Builders part 4: headers, proctable and miscreferences 2019-04-01 21:48:38 +00:00
mock_api.cpp Replace dawn::CallbackUserdata with void* 2019-05-29 13:03:50 +00:00
mock_api.h Replace dawn::CallbackUserdata with void* 2019-05-29 13:03:50 +00:00