Title: [126226] trunk/Source/WebCore
Revision
126226
Author
[email protected]
Date
2012-08-21 17:06:23 -0700 (Tue, 21 Aug 2012)

Log Message

[Chromium/Skia] Filters should flush the SkCanvas
https://bugs.webkit.org/show_bug.cgi?id=94602

Patch by Brian Salomon <[email protected]> on 2012-08-21
Reviewed by Stephen White.

Adds a SkCanvas::flush call to FilterBufferState::swap() to ensure the textures are updated before they are consumed by the compositor.

Covered by existing css3/filters layout tests.

* platform/graphics/chromium/cc/CCRenderSurfaceFilters.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (126225 => 126226)


--- trunk/Source/WebCore/ChangeLog	2012-08-21 23:56:49 UTC (rev 126225)
+++ trunk/Source/WebCore/ChangeLog	2012-08-22 00:06:23 UTC (rev 126226)
@@ -1,3 +1,16 @@
+2012-08-21  Brian Salomon  <[email protected]>
+
+        [Chromium/Skia] Filters should flush the SkCanvas
+        https://bugs.webkit.org/show_bug.cgi?id=94602
+
+        Reviewed by Stephen White.
+
+        Adds a SkCanvas::flush call to FilterBufferState::swap() to ensure the textures are updated before they are consumed by the compositor.
+
+        Covered by existing css3/filters layout tests.
+
+        * platform/graphics/chromium/cc/CCRenderSurfaceFilters.cpp:
+
 2012-08-21  Lianghui Chen  <[email protected]>
 
         [BlackBerry] Use new method to create socket handle

Modified: trunk/Source/WebCore/platform/graphics/chromium/cc/CCRenderSurfaceFilters.cpp (126225 => 126226)


--- trunk/Source/WebCore/platform/graphics/chromium/cc/CCRenderSurfaceFilters.cpp	2012-08-21 23:56:49 UTC (rev 126225)
+++ trunk/Source/WebCore/platform/graphics/chromium/cc/CCRenderSurfaceFilters.cpp	2012-08-22 00:06:23 UTC (rev 126226)
@@ -304,6 +304,7 @@
 
     void swap()
     {
+        m_canvas->flush();
         m_canvas.reset(0);
         m_device.reset(0);
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to