[haiku-webkit-commits] r260 - webkit/trunk/WebCore/platform/graphics/haiku

  • From: webkit@xxxxxxxxxxxxxxx
  • To: haiku-webkit-commits@xxxxxxxxxxxxx
  • Date: Mon, 01 Mar 2010 19:14:34 +0000

Author: stippi
Date: Mon Mar  1 19:14:33 2010
New Revision: 260
URL: http://mmlr.dyndns.org/changeset/260

Log:
Support two more compositing modes.

Modified:
   webkit/trunk/WebCore/platform/graphics/haiku/GraphicsContextHaiku.cpp

Modified: webkit/trunk/WebCore/platform/graphics/haiku/GraphicsContextHaiku.cpp
==============================================================================
--- webkit/trunk/WebCore/platform/graphics/haiku/GraphicsContextHaiku.cpp       
Mon Mar  1 18:46:15 2010        (r259)
+++ webkit/trunk/WebCore/platform/graphics/haiku/GraphicsContextHaiku.cpp       
Mon Mar  1 19:14:33 2010        (r260)
@@ -800,6 +800,12 @@
     case CompositeSourceOver:
         mode = B_OP_OVER;
         break;
+    case CompositePlusLighter:
+        mode = B_OP_ADD;
+        break;
+    case CompositePlusDarker:
+        mode = B_OP_SUBTRACT;
+        break;
     default:
         printf("GraphicsContext::setCompositeOperation: Unsupported composite 
operation %s\n",
                 compositeOperatorName(op).utf8().data());

Other related posts:

  • » [haiku-webkit-commits] r260 - webkit/trunk/WebCore/platform/graphics/haiku - webkit