55183e6c3a
Only load extension entry points if the extension is supported. From the eglGetProcAddress manpage: "A non-NULL return value does not guarantee that an extension function is actually supported at runtime. The client must also make a corresponding query, such as glGetString(GL_EXTENSIONS) for OpenGL and OpenGL ES extensions [...] to determine if a function is supported by EGL or a specific client API context." This required moving extension initialization from OpenGLFunctions into OpenGLFunctionsBase. Change-Id: Ib4e8360ba455818701990b4476689b651d097ca8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/121760 Commit-Queue: Stephen White <senorblanco@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> |
||
---|---|---|
.. | ||
dawn | ||
opengl | ||
.clang-format | ||
BSD_LICENSE | ||
CPPLINT.cfg | ||
api.h | ||
api_cpp.cpp | ||
api_cpp.h | ||
api_cpp_print.h | ||
api_struct_info.json | ||
dawn_proc.c | ||
dawn_proc_table.h | ||
dawn_thread_dispatch_proc.cpp | ||
library_api_enum_tables.js | ||
mock_api.cpp | ||
mock_api.h |