mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-26 12:17:52 +00:00
LibWeb: Implement basics for OffscreenCanvas
This implements the basic interface, classes and functions for OffscreenCanvas. Many are still stubbed out and have many FIXMEs in them, but it is a basic skeleton.
This commit is contained in:
parent
193ab3757b
commit
2ad3ce5d37
Notes:
github-actions[bot]
2025-06-30 15:47:43 +00:00
Author: https://github.com/Totto16
Commit: 2ad3ce5d37
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3788
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/tcl3
14 changed files with 1094 additions and 4 deletions
9
Libraries/LibWeb/HTML/Canvas/OffscreenCanvasBase.idl
Normal file
9
Libraries/LibWeb/HTML/Canvas/OffscreenCanvasBase.idl
Normal file
|
@ -0,0 +1,9 @@
|
|||
#import <DOM/EventTarget.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/canvas.html#offscreenrenderingcontext
|
||||
typedef (OffscreenCanvasRenderingContext2D or
|
||||
WebGLRenderingContext or
|
||||
//FIXME: ImageBitmapRenderingContext or
|
||||
WebGL2RenderingContext
|
||||
//FIXME: GPUCanvasContext
|
||||
) OffscreenRenderingContext;
|
Loading…
Add table
Add a link
Reference in a new issue