LibWeb/WebGL: Implement drawingBufferWidth and drawingBufferHeight

This commit is contained in:
Aliaksandr Kalenik 2024-12-10 04:52:05 +01:00 committed by Alexander Kalenik
commit c199be061a
Notes: github-actions[bot] 2024-12-13 08:21:09 +00:00
5 changed files with 32 additions and 2 deletions

View file

@ -43,6 +43,9 @@ public:
Optional<Vector<String>> get_supported_extensions() const;
JS::Object* get_extension(String const& name);
WebIDL::Long drawing_buffer_width() const;
WebIDL::Long drawing_buffer_height() const;
private:
virtual void initialize(JS::Realm&) override;