mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibWeb/WebGL: Implement createFramebuffer
This commit is contained in:
parent
2ac8408fef
commit
c5e9615c29
Notes:
github-actions[bot]
2024-12-05 20:43:53 +00:00
Author: https://github.com/Lubrsi 🔰
Commit: c5e9615c29
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 WebGLFramebuffer final : public WebGLObject {
|
|||
GC_DECLARE_ALLOCATOR(WebGLFramebuffer);
|
||||
|
||||
public:
|
||||
static GC::Ptr<WebGLFramebuffer> create(JS::Realm& realm, GLuint handle);
|
||||
|
||||
virtual ~WebGLFramebuffer();
|
||||
|
||||
protected:
|
||||
explicit WebGLFramebuffer(JS::Realm&);
|
||||
explicit WebGLFramebuffer(JS::Realm&, GLuint handle);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue