Граф коммитов

2 Коммитов

Автор SHA1 Сообщение Дата
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 <syoussefi@chromium.org>
Reviewed-by: Lingfeng Yang <lfy@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
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 <timvp@google.com>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2021-12-08 15:56:18 +00:00