[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
commit-queue at webkit.org
commit-queue at webkit.org
Wed Dec 22 12:49:20 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 196628279f434795dd1ad244bc820db3fbfe1d2a
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Aug 31 04:24:05 2010 +0000
2010-08-30 Nat Duca <nduca at chromium.org>
Reviewed by Adam Barth.
[chromium] Accelerated Compositing: Artifacts/blink when enabling compositor.
https://bugs.webkit.org/show_bug.cgi?id=44196
If accelerated compositing enables after a page loads, the dirtied
portion of the screen will be only a subset of the full screen,
leading to artefacts. Avoid these artefacts by invalidating the
visible content rect on compositor initialization.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66450 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/chromium/ChangeLog b/WebKit/chromium/ChangeLog
index 01a2bbf..21454e8 100644
--- a/WebKit/chromium/ChangeLog
+++ b/WebKit/chromium/ChangeLog
@@ -1,3 +1,18 @@
+2010-08-30 Nat Duca <nduca at chromium.org>
+
+ Reviewed by Adam Barth.
+
+ [chromium] Accelerated Compositing: Artifacts/blink when enabling compositor.
+ https://bugs.webkit.org/show_bug.cgi?id=44196
+
+ If accelerated compositing enables after a page loads, the dirtied
+ portion of the screen will be only a subset of the full screen,
+ leading to artefacts. Avoid these artefacts by invalidating the
+ visible content rect on compositor initialization.
+
+ * src/WebViewImpl.cpp:
+ (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
+
2010-08-30 Kinuko Yasuda <kinuko at chromium.osrc>
Reviewed by Darin Fisher.
diff --git a/WebKit/chromium/src/WebViewImpl.cpp b/WebKit/chromium/src/WebViewImpl.cpp
index 5065f5e..4b129d6 100644
--- a/WebKit/chromium/src/WebViewImpl.cpp
+++ b/WebKit/chromium/src/WebViewImpl.cpp
@@ -2117,9 +2117,13 @@ void WebViewImpl::setIsAcceleratedCompositingActive(bool active)
if (active) {
m_layerRenderer = LayerRendererChromium::create(getOnscreenGLES2Context());
- if (m_layerRenderer->hardwareCompositing())
+ if (m_layerRenderer->hardwareCompositing()) {
m_isAcceleratedCompositingActive = true;
- else {
+
+ // Force a redraw the entire view so that the compositor gets the entire view,
+ // rather than just the currently-dirty subset.
+ m_client->didInvalidateRect(IntRect(0, 0, m_size.width, m_size.height));
+ } else {
m_layerRenderer.clear();
m_isAcceleratedCompositingActive = false;
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list