mirror of
https://github.com/servo/servo.git
synced 2025-06-09 09:03:23 +00:00
Added the WebIDL bindigs for GPUDevice, GPUObjectDescriptorBase, GPUDeviceDescriptor, GPUObjectBase Implemented the `requestDevice` function of `GPUAdapter`
13 lines
406 B
Text
13 lines
406 B
Text
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
|
|
// https://gpuweb.github.io/gpuweb/#gpuobjectbase
|
|
[Exposed=(Window)]
|
|
interface mixin GPUObjectBase {
|
|
attribute DOMString? label;
|
|
};
|
|
|
|
dictionary GPUObjectDescriptorBase {
|
|
DOMString? label;
|
|
};
|