[Webkit-unassigned] [Bug 120012] New: 100% cpu usage for "transition: opacity" animation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 19 10:02:18 PDT 2013


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

           Summary: 100% cpu usage for "transition: opacity" animation
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://www.webkit.org/blog-files/leaves/
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: luciano.wolf at openbossa.org


Created an attachment (id=209095)
 --> (https://bugs.webkit.org/attachment.cgi?id=209095&action=review)
Proposed fix - WIP - doesn't include ChangeLog yet.

While running leaves demo, the CPU tops at 100% for WebProcess. Even simple examples like LayoutTests/compositing/repaint/opacity-between-absolute.html does the same.

Doing some research I've found that CoordinatedLayerTreeHost::scheduleAnimation() does set a timer for animation and right after that it schedules again the same timer with 0. This behavior could be avoided if we call scheduleLayerFlush() before m_layerFlushTimer.startOneShot(m_coordinator->nextAnimationServiceTime()).

I've detected this issue on NIX port, but I wasn't able to compile Qt, GTK or EFL.

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