aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gpucomputepassencoder.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2020-02-25 16:42:35 -0500
committerGitHub <noreply@github.com>2020-02-25 16:42:35 -0500
commit611601240849299bf8fa78a4eacc5b422049b7ad (patch)
tree1d2f1381bc5f267e63413cd5b3a71cec781b2310 /components/script/dom/gpucomputepassencoder.rs
parentcd00e57c974249ccb7a388ac2ebfb33b149dd52e (diff)
parent2df4d9fce419505cf7c5305321d4135559534997 (diff)
downloadservo-611601240849299bf8fa78a4eacc5b422049b7ad.tar.gz
servo-611601240849299bf8fa78a4eacc5b422049b7ad.zip
Auto merge of #25831 - szeged:wgpu_read_map_async, r=jdm
Implement mapReadAsync function of GPUBuffer Implemented the `mapReadAsync` and fixed the `unmap` functions of `GPUBuffer`. Added `mapped` internal slot for tracking the ArrayBuffer/Promise. Added more states to the `GPUBufferState` enum. <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes addresses a part of #24706 <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> cc @kvark @jdm @zakorgy <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Diffstat (limited to 'components/script/dom/gpucomputepassencoder.rs')
0 files changed, 0 insertions, 0 deletions