Title: [188858] trunk/Source/WebCore
Revision
188858
Author
[email protected]
Date
2015-08-24 06:23:45 -0700 (Mon, 24 Aug 2015)

Log Message

Unreviewed. Fix cairo performance regression introduced in r188379.

A missing break in a switch was making us to use High image
interpolation quality by default.

* platform/graphics/cairo/PlatformContextCairo.cpp:
(WebCore::PlatformContextCairo::drawSurfaceToContext): Add the
missing break.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (188857 => 188858)


--- trunk/Source/WebCore/ChangeLog	2015-08-24 11:33:05 UTC (rev 188857)
+++ trunk/Source/WebCore/ChangeLog	2015-08-24 13:23:45 UTC (rev 188858)
@@ -1,5 +1,16 @@
 2015-08-24  Carlos Garcia Campos  <[email protected]>
 
+        Unreviewed. Fix cairo performance regression introduced in r188379.
+
+        A missing break in a switch was making us to use High image
+        interpolation quality by default.
+
+        * platform/graphics/cairo/PlatformContextCairo.cpp:
+        (WebCore::PlatformContextCairo::drawSurfaceToContext): Add the
+        missing break.
+
+2015-08-24  Carlos Garcia Campos  <[email protected]>
+
         Unreviewed. Fix GObject DOM bindings API break test after r188809.
 
         element.getElementsByTagName and element.getElementsByClassName

Modified: trunk/Source/WebCore/platform/graphics/cairo/PlatformContextCairo.cpp (188857 => 188858)


--- trunk/Source/WebCore/platform/graphics/cairo/PlatformContextCairo.cpp	2015-08-24 11:33:05 UTC (rev 188857)
+++ trunk/Source/WebCore/platform/graphics/cairo/PlatformContextCairo.cpp	2015-08-24 13:23:45 UTC (rev 188858)
@@ -200,6 +200,7 @@
     case InterpolationMedium:
     case InterpolationDefault:
         cairo_pattern_set_filter(pattern.get(), CAIRO_FILTER_GOOD);
+        break;
     case InterpolationHigh:
         cairo_pattern_set_filter(pattern.get(), CAIRO_FILTER_BEST);
         break;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to