dawn-cmake/examples
Stephen White 70102b7190 Add preliminary OpenGL ES and EGL support to Dawn.
This is enough to get all of the sample apps running on a conformant ES 3.1 implementation, such as ANGLE/Vk or NVidia's OpenGL ES Linux driver.

Implements a new opengl::AdapterDiscoveryOptionsES subclass to specify its creation at adapter discovery time.
Adds a "-b opengles" command-line flag to the code samples.
Asserts on a call to glShaderStorageBlockBinding() on ES.
Works around missing indexed draw buffers support by asserting when a non-0 color attachment is specified.
Works around missing glClearTexSubImage() by asserting. :/
These will likely require front-end validation.

BUG=dawn:580
Change-Id: I4a4240ca695a22388c55073fd2aee0323cd4afc9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/31000
Reviewed-by: Stephen White <senorblanco@chromium.org>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2020-11-24 20:57:23 +00:00
..
Animometer.cpp s/OutputAttachment/RenderAttachment/g 2020-10-27 15:35:56 +00:00
BUILD.gn Autoformat all tests and examples 2020-07-10 20:33:08 +00:00
CHelloTriangle.cpp s/OutputAttachment/RenderAttachment/g 2020-10-27 15:35:56 +00:00
CMakeLists.txt Add initial CMakeLists.txt files 2020-02-05 17:16:05 +00:00
ComputeBoids.cpp s/OutputAttachment/RenderAttachment/g 2020-10-27 15:35:56 +00:00
CppHelloTriangle.cpp Add WGPU_STRIDE_UNDEFINED and update bytesPerRow/rowsPerImage validation 2020-11-06 13:41:50 +00:00
CubeReflection.cpp s/OutputAttachment/RenderAttachment/g 2020-10-27 15:35:56 +00:00
ManualSwapChainTest.cpp s/OutputAttachment/RenderAttachment/g 2020-10-27 15:35:56 +00:00
SampleUtils.cpp Add preliminary OpenGL ES and EGL support to Dawn. 2020-11-24 20:57:23 +00:00
SampleUtils.h Make examples and utils use webgpu.h 2019-10-25 11:36:47 +00:00