Title: [126227] trunk/Source/WebCore
- Revision
- 126227
- Author
- [email protected]
- Date
- 2012-08-21 17:07:56 -0700 (Tue, 21 Aug 2012)
Log Message
[BlackBerry] requestAnimationFrame: Unscheduled display link frames need to be sent to main thread
https://bugs.webkit.org/show_bug.cgi?id=94600
Patch by Andrew Lo <[email protected]> on 2012-08-21
Reviewed by Rob Buis.
http://trac.webkit.org/changeset/116792 implements destroying
DisplayRefreshMonitor after the number of unscheduled frames exceeds 10.
Part of that change involves dispatching to the main thread whether
the frame was scheduled or not.
Make the corresponding change for the BlackBerry port that was made for
DisplayRefreshMonitorMac.cpp.
Tests covered by http://trac.webkit.org/changeset/116792
* platform/graphics/blackberry/DisplayRefreshMonitorBlackBerry.cpp:
(WebCore::DisplayRefreshMonitor::displayLinkFired):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (126226 => 126227)
--- trunk/Source/WebCore/ChangeLog 2012-08-22 00:06:23 UTC (rev 126226)
+++ trunk/Source/WebCore/ChangeLog 2012-08-22 00:07:56 UTC (rev 126227)
@@ -1,3 +1,24 @@
+2012-08-21 Andrew Lo <[email protected]>
+
+ [BlackBerry] requestAnimationFrame: Unscheduled display link frames need to be sent to main thread
+ https://bugs.webkit.org/show_bug.cgi?id=94600
+
+ Reviewed by Rob Buis.
+
+ http://trac.webkit.org/changeset/116792 implements destroying
+ DisplayRefreshMonitor after the number of unscheduled frames exceeds 10.
+
+ Part of that change involves dispatching to the main thread whether
+ the frame was scheduled or not.
+
+ Make the corresponding change for the BlackBerry port that was made for
+ DisplayRefreshMonitorMac.cpp.
+
+ Tests covered by http://trac.webkit.org/changeset/116792
+
+ * platform/graphics/blackberry/DisplayRefreshMonitorBlackBerry.cpp:
+ (WebCore::DisplayRefreshMonitor::displayLinkFired):
+
2012-08-21 Brian Salomon <[email protected]>
[Chromium/Skia] Filters should flush the SkCanvas
Modified: trunk/Source/WebCore/platform/graphics/blackberry/DisplayRefreshMonitorBlackBerry.cpp (126226 => 126227)
--- trunk/Source/WebCore/platform/graphics/blackberry/DisplayRefreshMonitorBlackBerry.cpp 2012-08-22 00:06:23 UTC (rev 126226)
+++ trunk/Source/WebCore/platform/graphics/blackberry/DisplayRefreshMonitorBlackBerry.cpp 2012-08-22 00:07:56 UTC (rev 126227)
@@ -77,7 +77,7 @@
if (!m_mutex.tryLock())
return;
- if (!m_scheduled || !m_previousFrameDone) {
+ if (!m_previousFrameDone) {
m_mutex.unlock();
return;
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes