mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
LibWeb/WebGL: Add extensions APIs to WebGLRenderingContextBase
These currently return nothing, as we don't currently support any WebGL extensions.
This commit is contained in:
parent
076c9772a4
commit
aa77c26b60
Notes:
sideshowbarker
2024-07-17 10:15:59 +09:00
Author: https://github.com/Lubrsi
Commit: aa77c26b60
Pull-request: https://github.com/SerenityOS/serenity/pull/14184
Reviewed-by: https://github.com/Quaker762 ✅
Reviewed-by: https://github.com/gmta ✅
Reviewed-by: https://github.com/linusg ✅
Reviewed-by: https://github.com/sunverwerth
3 changed files with 28 additions and 0 deletions
|
@ -18,6 +18,9 @@ interface mixin WebGLRenderingContextBase {
|
|||
// IDL code generator. This also allows us to handle the return type ourselves instead of adding the complexity of the
|
||||
// code generator working out the return type and returning the appropriate value to return on context loss.
|
||||
|
||||
sequence<DOMString>? getSupportedExtensions();
|
||||
object? getExtension(DOMString name);
|
||||
|
||||
undefined clear(GLbitfield mask);
|
||||
undefined clearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue