[Webkit-unassigned] [Bug 115896] [BlackBerry] Use requestAnimationFrame for animations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 10 05:31:35 PDT 2013


--- Comment #5 from Arvid Nilsson <anilsson at rim.com>  2013-05-10 05:30:00 PST ---
(From update of attachment 201336)
View in context: https://bugs.webkit.org/attachment.cgi?id=201336&action=review

> Source/WebKit/blackberry/Api/WebPage.cpp:6312
> +void WebPagePrivate::animationFrameChanged()

Now to be sure there are memory barriers all over the place (when dispatching messages, locking mutexes etc)
but just looking at these two methods in isolation...

> Source/WebKit/blackberry/Api/WebPage.cpp:6329
> +}

In the complete absence of memory barriers, scheduleAnimation() could set m_animationScheduled to true on Core 1, but that change is not synced over to Core 2, and when core 2 executes animationFrameChanged(), it will just stop and return.

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