Stephen Gutekanst
|
6c7ea283fe
|
gpu: utilize gpu.Adapter.BackendType in example
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
40f92dd9d9
|
gpu: use PowerPreference
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
99744134f8
|
gpu: rename Surface.Descriptor.xlib_window -> xlib
To appropriately match the upstream, webgpu.h, which has renamed in this way.
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
818a2a172c
|
gpu: use requestDevice in example
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
77b16a3671
|
gpu: print adapter information in example
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
c7c8764129
|
gpu: use requestAdapter in example
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
9916ec043b
|
gpu: use Surface API in example
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
8f5e9f89e5
|
gpu: expose API and begin using in example
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
718a66497c
|
gpu: add gpu-hello-triangle (dawn) example
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|