[Webkit-unassigned] [Bug 104733] New: Make WebGLRenderingContext inherit from ActiveDOMObject

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 11 15:50:43 PST 2012


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

           Summary: Make WebGLRenderingContext inherit from
                    ActiveDOMObject
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGL
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bajones at chromium.org
                CC: kbr at google.com


In Chromium WebGL contexts are not being garbage collected eagerly enough. This is causing unexpected behavior in cases where many WebGL contexts are created in succession, such as refreshing the page multiple times during development. WebGLRenderingContexts should follow the pattern set by AudioContext and inherit from ActiveDOMObject to quickly detect when the page containing the context is closed/refreshed/navigated and actively release GPU resources.

An attempt to hint the garbage collector to collect WebGLRenderingContexts more eagerly was made in Bug 76225, but some problems still persist. The use of ActiveDOMObject to detect WebGLRenderingContext end of life was suggested in the comments for that bug.

-- 
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