|
5a65a2b1
|
2022-07-06T11:46:17
|
|
Fix samples' arguments to SampleApplication
Two new parameters were added in
https://chromium-review.googlesource.com/c/angle/angle/+/3664916 with
default values, but not all samples were updated to accomodate them. As
a result, many samples passed in the major version for client type and
thus couldn't run.
This change introduces an enum class for the client type + version to
make sure such a mistake is impossible.
Bug: angleproject:7360
Change-Id: I450edee612d08a7b67530b61615f63268fefb200
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3748413
Auto-Submit: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Lingfeng Yang <lfy@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
|
|
1bfdc981
|
2022-01-21T14:21:45
|
|
TorusBufferStorage: Regenerate buffer storage every second.
To test regeneration in FrameCapture, the torus buffer storage example
now reinitializes its coherent buffer storage every second.
Define attrib pointers every draw.
Bug: angleproject:4599
Bug: angleproject:5857
Bug: angleproject:6774
Change-Id: I32984535d9810478b6906217102ac9c3e83464b2
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3406756
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
|
|
3369f720
|
2021-09-08T15:23:22
|
|
samples: Add torus bufferstorage ES3 sample.
Adds a sample that uses GL_EXT_buffer_storage and the
GL_MAP_COHERENT_BIT_EXT to update colors.
Expose IsGLExtensionEnabled in SampleApplication.
Bug: angleproject:5857
Change-Id: I1ba2962cda939da527a17c49a3ef430a69486c52
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3168628
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Commit-Queue: Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
|