2 Commits
Author SHA1 Message Date
Shahbaz Youssefi 5a65a2b1c6 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 <[email protected]>
Reviewed-by: Lingfeng Yang <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2022-07-06 16:10:52 +00:00
Jamie Madill 4b45831b64 Add a multi-context sample.
This will be useful for multi-context trace testing.

Bug: angleproject:5133
Change-Id: Ib4b6aac3069bc88939c1f5c409b2e7ef95a1a539
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3313598
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-12-08 15:56:18 +00:00