LibWeb: Implement WebGL getVertexAttrib

This also implements all allowed parameter name values for this
function.
This commit is contained in:
Undefine 2025-11-01 17:01:15 +01:00 committed by Jelle Raaijmakers
parent 2d8b393c76
commit a2c659ee6b
Notes: github-actions[bot] 2025-11-01 23:55:22 +00:00
10 changed files with 134 additions and 1 deletions

View file

@ -283,6 +283,11 @@ bool WebGLRenderingContext::ext_texture_filter_anisotropic_extension_enabled() c
return !!m_ext_texture_filter_anisotropic;
}
bool WebGLRenderingContext::angle_instanced_arrays_extension_enabled() const
{
return !!m_angle_instanced_arrays_extension;
}
ReadonlySpan<WebIDL::UnsignedLong> WebGLRenderingContext::enabled_compressed_texture_formats() const
{
return m_enabled_compressed_texture_formats;