mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-21 17:51:52 +00:00
LibWeb/WebGL: Implement createRenderbuffer
This commit is contained in:
parent
135facb1b5
commit
d185c2c28c
Notes:
github-actions[bot]
2024-12-05 20:43:32 +00:00
Author: https://github.com/Lubrsi
Commit: d185c2c28c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2791
Reviewed-by: https://github.com/gmta
Reviewed-by: https://github.com/shannonbooth
4 changed files with 21 additions and 4 deletions
|
@ -15,10 +15,12 @@ class WebGLRenderbuffer final : public WebGLObject {
|
|||
GC_DECLARE_ALLOCATOR(WebGLRenderbuffer);
|
||||
|
||||
public:
|
||||
static GC::Ptr<WebGLRenderbuffer> create(JS::Realm& realm, GLuint handle);
|
||||
|
||||
virtual ~WebGLRenderbuffer();
|
||||
|
||||
protected:
|
||||
explicit WebGLRenderbuffer(JS::Realm&);
|
||||
explicit WebGLRenderbuffer(JS::Realm&, GLuint handle);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue