Stephen Gutekanst
|
8a0d47b94b
|
gpu: correct context pointer alignments
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
4ed932be0f
|
gpu: simplify callback context types
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
0228b50dba
|
gpu: make Device.setDeviceLostCallback friendlier
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
dec1f08dd1
|
gpu: make Device.popErrorScope friendlier
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
2e611565b4
|
gpu: make Device.createRenderPipelineAsync friendlier
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
a452d03589
|
gpu: make Device.createComputePipelineAsync friendlier
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
29cd383f0e
|
gpu: make Device.setLoggingCallback friendlier
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
6f2f7056b7
|
gpu: make Device.setUncapturedErrorCallback friendlier
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
be402d4b6d
|
gpu: add TODOs about unsetting callbacks
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
a468c51ad4
|
gpu: correct nullability of userdata pointers
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
cccfef52f9
|
gpu: internalize Texture types
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
e9dcb49328
|
gpu: internalize SwapChain types
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
23fb836ce8
|
gpu: internalize ShaderModule types
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
b0776270d3
|
gpu: internalize Sampler types
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
550c5fd55e
|
gpu: internalize RenderPipeline types
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
836c46cc6c
|
gpu: internalize RenderBundleEncoder types
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
b4830688bb
|
gpu: internalize Queue types
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
f4a6e08357
|
gpu: internalize QuerySet types
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
1a57ae1c4d
|
gpu: internalize PipelineLayout types
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
09bbc8458a
|
gpu: internalize ExternalTexture types
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
0a69ef98fa
|
gpu: internalize Device types
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
b5bf0da50d
|
gpu: internalize ComputePipeline types
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
85fbe41a86
|
gpu: internalize CommandEncoder types
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
9ba109f659
|
gpu: internalize Buffer types
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
e10432834b
|
gpu: internalize BindGroup types
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
e6f3d3c2f0
|
gpu: move callbacks to separate file
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
1ce40e1b46
|
gpu: fix tests
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
f59435f0b0
|
gpu: convert *opaque -> opaque for SwapChain
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
2c1a8240c5
|
gpu: convert *opaque -> opaque for ShaderModule
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
397f2eb1c9
|
gpu: convert *opaque -> opaque for RenderPipeline
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
0372525c91
|
gpu: convert *opaque -> opaque for RenderBundleEncoder
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
f73621cba2
|
gpu: convert *opaque -> opaque for Queue
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
c75d1d9e06
|
gpu: convert *opaque -> opaque for QuerySet
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
ca0fa7f045
|
gpu: convert *opaque -> opaque for PipelineLayout
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
8f8bbd25bc
|
gpu: convert *opaque -> opaque for ExternalTexture
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
862a555697
|
gpu: convert *opaque -> opaque for Device
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
cd62412ec7
|
gpu: convert *opaque -> opaque for ComputePipeline
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
e63a818d62
|
gpu: convert *opaque -> opaque for CommandEncoder
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
1714f43e1f
|
gpu: convert *opaque -> opaque for Buffer
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
3f4ebd68c2
|
gpu: internalize BindGroupLayout types
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
2ba4b9ff95
|
gpu: convert *opaque -> opaque for BindGroupLayout
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
41fe42e366
|
gpu: make all next_in_chain fields optional, default to null
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
9b969c6038
|
gpu: update DeviceDescriptor defaults/optionality
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
39ed9b5822
|
gpu: correct implementation invocations
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
2498e08cb9
|
gpu: implement Device methods
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
b0adf42c70
|
gpu: inline TODOs
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
9e88c8f9a8
|
gpu: add DeviceLostCallback
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
8932f53841
|
gpu: convert Queue from enum(usize) to *opaque
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
4e045ff45d
|
gpu: convert Device from enum(usize) to *opaque
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
8484d47e78
|
gpu: add Device.Descriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|