Title: [130993] trunk/Source/WebKit/blackberry
- Revision
- 130993
- Author
- commit-qu...@webkit.org
- Date
- 2012-10-10 18:52:04 -0700 (Wed, 10 Oct 2012)
Log Message
[BlackBerry] Do not perform backing store blit for animations during one-shot drawing synchronization
https://bugs.webkit.org/show_bug.cgi?id=98944
Patch by Andrew Lo <a...@rim.com> on 2012-10-10
Reviewed by Rob Buis.
Internally reviewed by: Arvid Nilsson.
Internal PR 220014
Prevent animations from causing a backing store blit during a
one-shot drawing synchronization.
* Api/WebPageCompositor.cpp:
(BlackBerry::WebKit::WebPageCompositorPrivate::animationFrameChanged):
Modified Paths
Diff
Modified: trunk/Source/WebKit/blackberry/Api/WebPageCompositor.cpp (130992 => 130993)
--- trunk/Source/WebKit/blackberry/Api/WebPageCompositor.cpp 2012-10-11 01:45:41 UTC (rev 130992)
+++ trunk/Source/WebKit/blackberry/Api/WebPageCompositor.cpp 2012-10-11 01:52:04 UTC (rev 130993)
@@ -238,7 +238,9 @@
webKitThreadMessageClient()->dispatchMessage(createMethodCallMessage(&BackingStorePrivate::renderVisibleContents, backingStore->d));
return;
}
- m_webPage->blitVisibleContents();
+
+ if (!m_webPage->needsOneShotDrawingSynchronization())
+ m_webPage->blitVisibleContents();
}
void WebPageCompositorPrivate::compositorDestroyed()
Modified: trunk/Source/WebKit/blackberry/ChangeLog (130992 => 130993)
--- trunk/Source/WebKit/blackberry/ChangeLog 2012-10-11 01:45:41 UTC (rev 130992)
+++ trunk/Source/WebKit/blackberry/ChangeLog 2012-10-11 01:52:04 UTC (rev 130993)
@@ -1,3 +1,18 @@
+2012-10-10 Andrew Lo <a...@rim.com>
+
+ [BlackBerry] Do not perform backing store blit for animations during one-shot drawing synchronization
+ https://bugs.webkit.org/show_bug.cgi?id=98944
+
+ Reviewed by Rob Buis.
+
+ Internally reviewed by: Arvid Nilsson.
+ Internal PR 220014
+ Prevent animations from causing a backing store blit during a
+ one-shot drawing synchronization.
+
+ * Api/WebPageCompositor.cpp:
+ (BlackBerry::WebKit::WebPageCompositorPrivate::animationFrameChanged):
+
2012-10-10 Mike Fenton <mifen...@rim.com>
[BlackBerry] Fix crash for detached node when validating selection change.
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes