Title: [108703] trunk/Source
- Revision
- 108703
- Author
- [email protected]
- Date
- 2012-02-23 17:32:35 -0800 (Thu, 23 Feb 2012)
Log Message
[chromium] Plumb video damage to the damage tracker.
https://bugs.webkit.org/show_bug.cgi?id=79373
Patch by Jonathan Backer <[email protected]> on 2012-02-23
Reviewed by James Robinson.
Source/WebCore:
* platform/graphics/chromium/VideoLayerChromium.cpp:
(WebCore::VideoLayerChromium::contentChanged):
(WebCore):
* platform/graphics/chromium/VideoLayerChromium.h:
(VideoLayerChromium):
Source/WebKit/chromium:
* src/WebMediaPlayerClientImpl.cpp:
(WebKit::WebMediaPlayerClientImpl::repaint):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (108702 => 108703)
--- trunk/Source/WebCore/ChangeLog 2012-02-24 01:27:16 UTC (rev 108702)
+++ trunk/Source/WebCore/ChangeLog 2012-02-24 01:32:35 UTC (rev 108703)
@@ -1,3 +1,16 @@
+2012-02-23 Jonathan Backer <[email protected]>
+
+ [chromium] Plumb video damage to the damage tracker.
+ https://bugs.webkit.org/show_bug.cgi?id=79373
+
+ Reviewed by James Robinson.
+
+ * platform/graphics/chromium/VideoLayerChromium.cpp:
+ (WebCore::VideoLayerChromium::contentChanged):
+ (WebCore):
+ * platform/graphics/chromium/VideoLayerChromium.h:
+ (VideoLayerChromium):
+
2012-02-23 MORITA Hajime <[email protected]>
This test checks select attribute of content element is valid.
Modified: trunk/Source/WebCore/platform/graphics/chromium/VideoLayerChromium.cpp (108702 => 108703)
--- trunk/Source/WebCore/platform/graphics/chromium/VideoLayerChromium.cpp 2012-02-24 01:27:16 UTC (rev 108702)
+++ trunk/Source/WebCore/platform/graphics/chromium/VideoLayerChromium.cpp 2012-02-24 01:32:35 UTC (rev 108703)
@@ -57,6 +57,12 @@
return CCVideoLayerImpl::create(m_layerId, m_provider);
}
+void VideoLayerChromium::contentChanged()
+{
+ m_updateRect = FloatRect(FloatPoint(), contentBounds());
+ setNeedsDisplay();
+}
+
} // namespace WebCore
#endif // USE(ACCELERATED_COMPOSITING)
Modified: trunk/Source/WebCore/platform/graphics/chromium/VideoLayerChromium.h (108702 => 108703)
--- trunk/Source/WebCore/platform/graphics/chromium/VideoLayerChromium.h 2012-02-24 01:27:16 UTC (rev 108702)
+++ trunk/Source/WebCore/platform/graphics/chromium/VideoLayerChromium.h 2012-02-24 01:32:35 UTC (rev 108703)
@@ -50,6 +50,8 @@
virtual PassRefPtr<CCLayerImpl> createCCLayerImpl();
+ void contentChanged();
+
private:
explicit VideoLayerChromium(VideoFrameProvider*);
Modified: trunk/Source/WebKit/chromium/ChangeLog (108702 => 108703)
--- trunk/Source/WebKit/chromium/ChangeLog 2012-02-24 01:27:16 UTC (rev 108702)
+++ trunk/Source/WebKit/chromium/ChangeLog 2012-02-24 01:32:35 UTC (rev 108703)
@@ -1,3 +1,13 @@
+2012-02-23 Jonathan Backer <[email protected]>
+
+ [chromium] Plumb video damage to the damage tracker.
+ https://bugs.webkit.org/show_bug.cgi?id=79373
+
+ Reviewed by James Robinson.
+
+ * src/WebMediaPlayerClientImpl.cpp:
+ (WebKit::WebMediaPlayerClientImpl::repaint):
+
2012-02-21 James Robinson <[email protected]>
[chromium] Notify compositor of wheel event registration via ScrollingCoordinator
Modified: trunk/Source/WebKit/chromium/src/WebMediaPlayerClientImpl.cpp (108702 => 108703)
--- trunk/Source/WebKit/chromium/src/WebMediaPlayerClientImpl.cpp 2012-02-24 01:27:16 UTC (rev 108702)
+++ trunk/Source/WebKit/chromium/src/WebMediaPlayerClientImpl.cpp 2012-02-24 01:32:35 UTC (rev 108703)
@@ -152,7 +152,7 @@
ASSERT(m_mediaPlayer);
#if USE(ACCELERATED_COMPOSITING)
if (m_videoLayer && supportsAcceleratedRendering())
- m_videoLayer->setNeedsDisplay();
+ m_videoLayer->contentChanged();
#endif
m_mediaPlayer->repaint();
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes