mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02: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.
10 lines
330 B
Plaintext
10 lines
330 B
Plaintext
#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;
|