Title: [127043] trunk/Source/WebCore
Revision
127043
Author
[email protected]
Date
2012-08-29 13:40:38 -0700 (Wed, 29 Aug 2012)

Log Message

[Qt] Implement CompositeDifference
https://bugs.webkit.org/show_bug.cgi?id=77355

Patch by Martin Leutelt <[email protected]> on 2012-08-29
Reviewed by Noam Rosenthal.

Add mapping for difference composite mode for
future use.

* platform/graphics/qt/GraphicsContextQt.cpp:
(WebCore::toQtCompositionMode):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (127042 => 127043)


--- trunk/Source/WebCore/ChangeLog	2012-08-29 20:32:19 UTC (rev 127042)
+++ trunk/Source/WebCore/ChangeLog	2012-08-29 20:40:38 UTC (rev 127043)
@@ -1,3 +1,16 @@
+2012-08-29  Martin Leutelt  <[email protected]>
+
+        [Qt] Implement CompositeDifference
+        https://bugs.webkit.org/show_bug.cgi?id=77355
+
+        Reviewed by Noam Rosenthal.
+
+        Add mapping for difference composite mode for
+        future use.
+        
+        * platform/graphics/qt/GraphicsContextQt.cpp:
+        (WebCore::toQtCompositionMode):
+
 2012-08-29  Rob Buis  <[email protected]>
 
         [BlackBerry] Adjust wtf include header style

Modified: trunk/Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp (127042 => 127043)


--- trunk/Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp	2012-08-29 20:32:19 UTC (rev 127042)
+++ trunk/Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp	2012-08-29 20:40:38 UTC (rev 127043)
@@ -108,6 +108,8 @@
         return QPainter::CompositionMode_Darken;
     case CompositePlusLighter:
         return QPainter::CompositionMode_Plus;
+    case CompositeDifference:
+        return QPainter::CompositionMode_Difference;
     default:
         ASSERT_NOT_REACHED();
     }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to