summaryrefslogtreecommitdiffstats
path: root/src/libnr/nr-compose.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mailat-signdiedenrezidotnl>2009-12-24 20:10:43 +0000
committerDiederik van Lierop <mailat-signdiedenrezidotnl>2009-12-24 20:10:43 +0000
commitbc576428c38521984964e4f9e6289c8da1157173 (patch)
treebe7c0e78e69461ef617bacce57e39c3698d6f7cb /src/libnr/nr-compose.cpp
parentDataMatrix encoder extension by inductiveload (diff)
downloadinkscape-bc576428c38521984964e4f9e6289c8da1157173.tar.gz
inkscape-bc576428c38521984964e4f9e6289c8da1157173.zip
refactoring the snapping code (laying the groundwork for my next commit which reduces snap jitter)
(bzr r8906)
Diffstat (limited to 'src/libnr/nr-compose.cpp')
-rw-r--r--src/libnr/nr-compose.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libnr/nr-compose.cpp b/src/libnr/nr-compose.cpp
index 3b99678e2..74f9d036b 100644
--- a/src/libnr/nr-compose.cpp
+++ b/src/libnr/nr-compose.cpp
@@ -773,6 +773,7 @@ nr_R8G8B8A8_P_EMPTY_A8_RGBA32 (unsigned char *px, int w, int h, int rs, const un
c[3] = a;
/* WARNING: MMX composer REQUIRES w > 0 and h > 0 */
nr_mmx_R8G8B8A8_P_EMPTY_A8_RGBAP (px, w, h, rs, mpx, mrs, c);
+ // This mmx optimized code is approx. 2x faster than the non-optimized code below (Measured by Diederik van Lierop, 2009-12-17)
return;
}
#endif