mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
parent
5df705a41f
commit
52ea5204a2
158 changed files with 1124 additions and 1124 deletions
|
@ -5,11 +5,11 @@
|
|||
// https://gpuweb.github.io/gpuweb/#gpubuffer
|
||||
[Exposed=(Window, DedicatedWorker), Serializable, Pref="dom.webgpu.enabled"]
|
||||
interface GPUBuffer {
|
||||
Promise<void> mapAsync(GPUMapModeFlags mode, optional GPUSize64 offset = 0, optional GPUSize64 size);
|
||||
Promise<undefined> mapAsync(GPUMapModeFlags mode, optional GPUSize64 offset = 0, optional GPUSize64 size);
|
||||
[Throws] ArrayBuffer getMappedRange(optional GPUSize64 offset = 0, optional GPUSize64 size);
|
||||
void unmap();
|
||||
undefined unmap();
|
||||
|
||||
void destroy();
|
||||
undefined destroy();
|
||||
};
|
||||
GPUBuffer includes GPUObjectBase;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue