WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
93625
[WebGL] GraphicsContext3D::deleteFramebuffer is not updating the m_bounds to default framebuffer
https://bugs.webkit.org/show_bug.cgi?id=93625
Summary
[WebGL] GraphicsContext3D::deleteFramebuffer is not updating the m_bounds to ...
Alexandru Chiculita
Reported
2012-08-09 10:11:00 PDT
According to the documentation of glDeleteFramebuffer, "if a framebuffer that is currently bound to one or more of the targets GL_DRAW_FRAMEBUFFER or GL_READ_FRAMEBUFFER is deleted, it is as though glBindFramebuffer had been executed with the corresponding target and framebuffer zero". Currently, the m_boundFBO is not reset to the default value, meaning that the next call to the bindFramebuffer will avoid to set the same framebuffer id. As soon as the old framebuffer is deleted, GL is allowed to reuse the same identifier for the newly created framebuffers.
Attachments
Add attachment
proposed patch, testcase, etc.
Alexandru Chiculita
Comment 1
2012-08-09 14:16:15 PDT
WebGL Rendering Context code already has this covered.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug