diff options
author | Andy Shaw <andy.shaw@digia.com> | 2012-09-13 17:56:20 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-09-27 06:07:15 +0200 |
commit | ae0ddb8c729c105a5b4f32a4f6765af8fe546333 (patch) | |
tree | 90ce3d69dde5a6efc03eba9eaaf47234905d5853 /src/gui/painting/qdrawhelper_iwmmxt.cpp | |
parent | 12e5464fa322735560613a43aa9b589fb69b79c8 (diff) |
Implement the missing raster operations that were in Qt 3
Although not widely used, the raster operations from Qt 3 were useful
and some of them were already implemented, this brings the rest of them
back for those who need them.
Change-Id: Id538611eaaba9be3d39bf2dd33b6c532f5d4aba8
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Diffstat (limited to 'src/gui/painting/qdrawhelper_iwmmxt.cpp')
-rw-r--r-- | src/gui/painting/qdrawhelper_iwmmxt.cpp | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/gui/painting/qdrawhelper_iwmmxt.cpp b/src/gui/painting/qdrawhelper_iwmmxt.cpp index c9590103a3..b3f7a45ecd 100644 --- a/src/gui/painting/qdrawhelper_iwmmxt.cpp +++ b/src/gui/painting/qdrawhelper_iwmmxt.cpp @@ -98,7 +98,12 @@ CompositionFunctionSolid qt_functionForModeSolid_IWMMXT[numCompositionFunctions] rasterop_solid_NotSourceXorDestination<QIWMMXTIntrinsics>, rasterop_solid_NotSource<QIWMMXTIntrinsics>, rasterop_solid_NotSourceAndDestination<QIWMMXTIntrinsics>, - rasterop_solid_SourceAndNotDestination<QIWMMXTIntrinsics> + rasterop_solid_SourceAndNotDestination<QIWMMXTIntrinsics>, + rasterop_solid_NotSourceOrDestination<QIWMMXTIntrinsics>, + rasterop_solid_SourceOrNotDestination<QIWMMXTIntrinsics>, + rasterop_solid_ClearDestination<QIWMMXTIntrinsics>, + rasterop_solid_SetDestination<QIWMMXTIntrinsics>, + rasterop_solid_NotDestination<QIWMMXTIntrinsics> }; CompositionFunction qt_functionForMode_IWMMXT[] = { @@ -134,7 +139,12 @@ CompositionFunction qt_functionForMode_IWMMXT[] = { rasterop_NotSourceXorDestination, rasterop_NotSource, rasterop_NotSourceAndDestination, - rasterop_SourceAndNotDestination + rasterop_SourceAndNotDestination, + rasterop_NotSourceOrDestination, + rasterop_SourceOrNotDestination, + rasterop_ClearDestination, + rasterop_SetDestination, + rasterop_NotDestination }; void qt_blend_color_argb_iwmmxt(int count, const QSpan *spans, void *userData) |