diff options
author | Istvan Miklos <istvan.miklos@h-lab.eu> | 2019-09-16 10:21:50 +0200 |
---|---|---|
committer | Istvan Miklos <istvan.miklos@h-lab.eu> | 2019-10-02 12:51:32 +0200 |
commit | 248545ddda503e06bc59b5274c63a6c25da4b355 (patch) | |
tree | b1c7614309ab6d6d6eef5630d989405fe8b97631 /components/script/dom/webidls/WebGLSync.webidl | |
parent | 9706cd497da0fcc30c9af04b7d3dc0d4e9d7c8fb (diff) | |
download | servo-248545ddda503e06bc59b5274c63a6c25da4b355.tar.gz servo-248545ddda503e06bc59b5274c63a6c25da4b355.zip |
Initial implementation of WebGLSync
This patch adds initial support for WebGLSync.
Note:
There is no test for the isSync, deleteSync and waitSync functions in the `conformance2/sync/sync-webgl-specific.html`.
Diffstat (limited to 'components/script/dom/webidls/WebGLSync.webidl')
-rw-r--r-- | components/script/dom/webidls/WebGLSync.webidl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/components/script/dom/webidls/WebGLSync.webidl b/components/script/dom/webidls/WebGLSync.webidl new file mode 100644 index 00000000000..3b251b8cf87 --- /dev/null +++ b/components/script/dom/webidls/WebGLSync.webidl @@ -0,0 +1,11 @@ +/* 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/. */ +// +// WebGL IDL definitions scraped from the Khronos specification: +// https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.14 +// + +[Pref="dom.webgl2.enabled"] +interface WebGLSync : WebGLObject { +}; |