diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-07-27 09:45:03 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-07-27 09:45:03 (GMT) |
commit | bd89fe50408452ed343715f3ef28c5d3e106715c (patch) | |
tree | ec00855dbed3731877343e1f07e51ac0f753a9f0 /src/gui/painting/qdrawhelper_sse.cpp | |
parent | 29a6377c6539840ca901bdcb045a42b7832ac98a (diff) | |
parent | 34beae57ff8248e7666a4ce08a06eeff54e05e7a (diff) | |
download | Qt-bd89fe50408452ed343715f3ef28c5d3e106715c.zip Qt-bd89fe50408452ed343715f3ef28c5d3e106715c.tar.gz Qt-bd89fe50408452ed343715f3ef28c5d3e106715c.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Implement the composition mode "Plus" with SSE2
Clean the CompositionFunction tables of drawhelper
Diffstat (limited to 'src/gui/painting/qdrawhelper_sse.cpp')
-rw-r--r-- | src/gui/painting/qdrawhelper_sse.cpp | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/src/gui/painting/qdrawhelper_sse.cpp b/src/gui/painting/qdrawhelper_sse.cpp index 58a7fdd..8b17c29 100644 --- a/src/gui/painting/qdrawhelper_sse.cpp +++ b/src/gui/painting/qdrawhelper_sse.cpp @@ -77,14 +77,35 @@ CompositionFunction qt_functionForMode_SSE[numCompositionFunctions] = { comp_func_DestinationOver<QSSEIntrinsics>, comp_func_Clear<QSSEIntrinsics>, comp_func_Source<QSSEIntrinsics>, - 0, + comp_func_Destination, comp_func_SourceIn<QSSEIntrinsics>, comp_func_DestinationIn<QSSEIntrinsics>, comp_func_SourceOut<QSSEIntrinsics>, comp_func_DestinationOut<QSSEIntrinsics>, comp_func_SourceAtop<QSSEIntrinsics>, comp_func_DestinationAtop<QSSEIntrinsics>, - comp_func_XOR<QSSEIntrinsics> + comp_func_XOR<QSSEIntrinsics>, + comp_func_Plus, + comp_func_Multiply, + comp_func_Screen, + comp_func_Overlay, + comp_func_Darken, + comp_func_Lighten, + comp_func_ColorDodge, + comp_func_ColorBurn, + comp_func_HardLight, + comp_func_SoftLight, + comp_func_Difference, + comp_func_Exclusion, + rasterop_SourceOrDestination, + rasterop_SourceAndDestination, + rasterop_SourceXorDestination, + rasterop_NotSourceAndNotDestination, + rasterop_NotSourceOrNotDestination, + rasterop_NotSourceXorDestination, + rasterop_NotSource, + rasterop_NotSourceAndDestination, + rasterop_SourceAndNotDestination }; void qt_blend_color_argb_sse(int count, const QSpan *spans, void *userData) |