Stephen Gutekanst
51f14596db
gpu-dawn: correct kernel32.GetModuleHandleW call
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-26 23:34:17 -07:00
Stephen Gutekanst
57fb84c569
gpu-dawn: use new WGPUSurface API in example
...
Not yet used by OpenGL backends as Dawn does not support the new API there yet.
Fixes hexops/mach#121
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-26 23:34:17 -07:00
Stephen Gutekanst
bab338d160
gpu-dawn: port newer createSurfaceForWindow API
...
Helps hexops/mach#121
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-26 23:34:17 -07:00
Stephen Gutekanst
412023ef1e
gpu-dawn: cleanup hello_triangle example
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-26 23:34:17 -07:00
Stephen Gutekanst
e451e4acb8
gpu-dawn: use cross-platform process.getEnvVarOwned
...
Helps hexops/mach#86
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-20 20:08:42 -07:00
Stephen Gutekanst
7af784bee7
rename mach/gpu to mach/gpu-dawn
...
See https://github.com/hexops/mach/issues/133#issuecomment-999940767
Helps #109
Helps #133
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-12-22 18:04:33 -07:00