[Webkit-unassigned] [Bug 96563] New: [CSS Shaders] Cached validated programs are destroyed and recreated when there is only one FECustomFilter animating

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 12 14:41:57 PDT 2012


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

           Summary: [CSS Shaders] Cached validated programs are destroyed
                    and recreated when there is only one FECustomFilter
                    animating
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mvujovic at adobe.com
                CC: dino at apple.com, achicu at adobe.com, jacobg at adobe.com
            Blocks: 71392


In FilterEffectRenderer::build, we first clear the old effects and then create the new effects.

Suppose we have one FECustomFilter animating on our page. In FilterEffectRenderer::build, we first destroy the old FECustomFilter. This removes its validated program from the cache since it was the last FECustomFilter using it. Then, we create the new FECustomFilter, and we have to create a new validated program.

We need to keep the old effects around until we're done creating the new effects so that we can reuse validated programs.

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