mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-15 23:09:05 +00:00
LibWeb/WebGL2: Implement bufferData with offset and length
This commit is contained in:
parent
a6ab9cc983
commit
18ea91715b
Notes:
github-actions[bot]
2025-01-08 15:01:00 +00:00
Author: https://github.com/Lubrsi
Commit: 18ea91715b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2943
Reviewed-by: https://github.com/kalenikaliaksandr
4 changed files with 45 additions and 1 deletions
|
@ -27,6 +27,7 @@ public:
|
|||
virtual ~BufferableObjectBase() override = default;
|
||||
|
||||
u32 byte_length() const;
|
||||
u32 element_size() const;
|
||||
|
||||
GC::Ref<JS::Object> raw_object();
|
||||
GC::Ref<JS::Object const> raw_object() const { return const_cast<BufferableObjectBase&>(*this).raw_object(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue