mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
LibWeb/WebGL: Move extensions into their own folder
This commit is contained in:
committed by
Andreas Kling
parent
cfbd125e57
commit
de77a5e3ea
Notes:
github-actions[bot]
2025-01-21 20:37:44 +00:00
Author: https://github.com/Lubrsi Commit: https://github.com/LadybirdBrowser/ladybird/commit/de77a5e3ea5 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3239 Reviewed-by: https://github.com/awesomekling Reviewed-by: https://github.com/kalenikaliaksandr
21
Libraries/LibWeb/WebGL/Extensions/OESVertexArrayObject.idl
Normal file
21
Libraries/LibWeb/WebGL/Extensions/OESVertexArrayObject.idl
Normal file
@@ -0,0 +1,21 @@
|
||||
#import <WebGL/Extensions/WebGLVertexArrayObjectOES.idl>
|
||||
#import <WebGL/Types.idl>
|
||||
|
||||
// https://registry.khronos.org/webgl/extensions/OES_vertex_array_object/
|
||||
// NOTE: Original OES_vertex_array_object name is changed to title case,
|
||||
// so it matches corresponding C++ class name, and does not require
|
||||
// IDL generator to handle snake_case to TitleCase conversion.
|
||||
// Having a different name is totally fine, because LegacyNoInterfaceObject
|
||||
// prevents the name from being exposed to JavaScript.
|
||||
[Exposed=(Window,Worker), LegacyNoInterfaceObject]
|
||||
interface OESVertexArrayObject {
|
||||
// Same note as WebGLRenderingContextBase:
|
||||
// Functions that have the [WebGLHandlesContextLoss] extended attribute in the spec do not have them here.
|
||||
|
||||
const GLenum VERTEX_ARRAY_BINDING_OES = 0x85B5;
|
||||
|
||||
WebGLVertexArrayObjectOES createVertexArrayOES();
|
||||
undefined deleteVertexArrayOES(WebGLVertexArrayObjectOES? arrayObject);
|
||||
GLboolean isVertexArrayOES(WebGLVertexArrayObjectOES? arrayObject);
|
||||
undefined bindVertexArrayOES(WebGLVertexArrayObjectOES? arrayObject);
|
||||
};
|
||||
Reference in New Issue
Block a user