mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb: Implement WebGL getParameter(COMPRESSED_TEXTURE_FORMATS)
This commit is contained in:
parent
bc3761b40d
commit
932a3328a3
Notes:
github-actions[bot]
2025-11-01 23:55:34 +00:00
Author: https://github.com/cqundefine
Commit: 932a3328a3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6663
Reviewed-by: https://github.com/gmta ✅
7 changed files with 50 additions and 0 deletions
|
|
@ -51,6 +51,7 @@ public:
|
|||
WebIDL::Long drawing_buffer_height() const;
|
||||
|
||||
virtual bool ext_texture_filter_anisotropic_extension_enabled() const override;
|
||||
virtual ReadonlySpan<WebIDL::UnsignedLong> enabled_compressed_texture_formats() const override;
|
||||
|
||||
private:
|
||||
virtual void initialize(JS::Realm&) override;
|
||||
|
|
@ -81,6 +82,8 @@ private:
|
|||
|
||||
GLenum m_error { 0 };
|
||||
|
||||
Vector<WebIDL::UnsignedLong> m_enabled_compressed_texture_formats;
|
||||
|
||||
// Extensions
|
||||
// "Multiple calls to getExtension with the same extension string, taking into account case-insensitive comparison, must return the same object as long as the extension is enabled."
|
||||
GC::Ptr<Extensions::ANGLEInstancedArrays> m_angle_instanced_arrays_extension;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue