[Webkit-unassigned] [Bug 93625] New: [WebGL] GraphicsContext3D::deleteFramebuffer is not updating the m_bounds to default framebuffer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 9 10:10:35 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=93625

           Summary: [WebGL] GraphicsContext3D::deleteFramebuffer is not
                    updating the m_bounds to default framebuffer
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://www.opengl.org/sdk/docs/man3/xhtml/glDeleteFram
                    ebuffers.xml
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: achicu at adobe.com


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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list