mirror of
https://github.com/servo/servo.git
synced 2025-08-16 19:05:33 +01:00
webgl: Update IDL exposed members (#33509)
* Update IDLs to expose on Workers Signed-off-by: Daniel Adams <msub2official@gmail.com> * Update usage of Canvas/OffscreenCanvas union, add label Signed-off-by: Daniel Adams <msub2official@gmail.com> * Update WPT expectations Signed-off-by: Daniel Adams <msub2official@gmail.com> * Fix match arm Signed-off-by: Daniel Adams <msub2official@gmail.com> * Add missing spec links Signed-off-by: Daniel Adams <msub2official@gmail.com> * Update expectations Signed-off-by: Daniel Adams <msub2official@gmail.com> * Update interfaces.worker.js Signed-off-by: Daniel Adams <msub2official@gmail.com> --------- Signed-off-by: Daniel Adams <msub2official@gmail.com>
This commit is contained in:
parent
8276673bae
commit
3a0d27b231
22 changed files with 117 additions and 4772 deletions
|
@ -43,7 +43,7 @@ dictionary WebGLContextAttributes {
|
|||
GLboolean failIfMajorPerformanceCaveat = false;
|
||||
};
|
||||
|
||||
[Exposed=Window]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface mixin WebGLRenderingContextBase
|
||||
{
|
||||
|
||||
|
@ -465,7 +465,7 @@ interface mixin WebGLRenderingContextBase
|
|||
const GLenum UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243;
|
||||
const GLenum BROWSER_DEFAULT_WEBGL = 0x9244;
|
||||
|
||||
readonly attribute HTMLCanvasElement canvas;
|
||||
readonly attribute (HTMLCanvasElement or OffscreenCanvas) canvas;
|
||||
readonly attribute GLsizei drawingBufferWidth;
|
||||
readonly attribute GLsizei drawingBufferHeight;
|
||||
|
||||
|
@ -680,7 +680,7 @@ interface mixin WebGLRenderingContextOverloads
|
|||
undefined uniformMatrix4fv(WebGLUniformLocation? location, GLboolean transpose, Float32List value);
|
||||
};
|
||||
|
||||
[Exposed=(Window)]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface WebGLRenderingContext
|
||||
{
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue