mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-13 20:41:53 +00:00
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.
9 lines
330 B
Text
9 lines
330 B
Text
#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;
|