mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
Support unions of objects in overloads
Part of #20513, implementing the parts useful for WebGL.
This commit is contained in:
parent
4cf944eab8
commit
900a19058e
8 changed files with 37 additions and 89 deletions
|
@ -688,10 +688,7 @@ interface WebGLRenderingContext
|
|||
{
|
||||
// BUG: https://github.com/KhronosGroup/WebGL/issues/2216
|
||||
|
||||
// FIXME(xanewok): https://github.com/servo/servo/issues/20513
|
||||
[Throws]
|
||||
void bufferData(GLenum target, object? data, GLenum usage);
|
||||
[Throws]
|
||||
void bufferData(GLenum target, /*[AllowShared]*/ BufferSource? data, GLenum usage);
|
||||
void bufferData(GLenum target, GLsizeiptr size, GLenum usage);
|
||||
void bufferSubData(GLenum target, GLintptr offset, /*[AllowShared]*/ BufferSource data);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue