#import <HTML/HTMLCanvasElement.idl>
#import <WebGL/WebGLRenderingContextBase.idl>
#import <WebGL/WebGLRenderingContextOverloads.idl>

// https://registry.khronos.org/webgl/specs/latest/1.0/#5.14
[Exposed=(Window,Worker)]
interface WebGLRenderingContext {
};

WebGLRenderingContext includes WebGLRenderingContextBase;
WebGLRenderingContext includes WebGLRenderingContextOverloads;

enum WebGLPowerPreference {
    "default",
    "low-power",
    "high-performance"
};
