mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +01:00
Implement GPUBuffer.getMappedRange()
This commit is contained in:
parent
19b36bd795
commit
575036bb88
4 changed files with 132 additions and 91 deletions
|
@ -6,7 +6,7 @@
|
|||
[Exposed=(Window, DedicatedWorker), Serializable, Pref="dom.webgpu.enabled"]
|
||||
interface GPUBuffer {
|
||||
Promise<void> mapAsync(GPUMapModeFlags mode, optional GPUSize64 offset = 0, optional GPUSize64 size = 0);
|
||||
//ArrayBuffer getMappedRange(optional GPUSize64 offset = 0, optional GPUSize64 size = 0);
|
||||
[Throws] ArrayBuffer getMappedRange(optional GPUSize64 offset = 0, optional GPUSize64 size = 0);
|
||||
void unmap();
|
||||
|
||||
void destroy();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue