rev 8961 - branches/kde4/packages/rsibreak/debian/patches

Daniel Queirolo danf_1979-guest at alioth.debian.org
Mon Jan 14 22:03:15 UTC 2008


Author: danf_1979-guest
Date: 2008-01-14 22:03:15 +0000 (Mon, 14 Jan 2008)
New Revision: 8961

Added:
   branches/kde4/packages/rsibreak/debian/patches/grayouteffect.diff
Log:
patched src/grayouteffect.cpp. Commented some mmmx related code.

Added: branches/kde4/packages/rsibreak/debian/patches/grayouteffect.diff
===================================================================
--- branches/kde4/packages/rsibreak/debian/patches/grayouteffect.diff	                        (rev 0)
+++ branches/kde4/packages/rsibreak/debian/patches/grayouteffect.diff	2008-01-14 22:03:15 UTC (rev 8961)
@@ -0,0 +1,46 @@
+Index: rsibreak-4.0.0/src/grayouteffect.cpp
+===================================================================
+--- rsibreak-4.0.0.orig/src/grayouteffect.cpp	2008-01-14 18:27:45.000000000 -0300
++++ rsibreak-4.0.0/src/grayouteffect.cpp	2008-01-14 18:29:07.000000000 -0300
+@@ -32,9 +32,9 @@
+ #include <string>
+ #include <cstring>
+ 
+-#if 1
+-#include <mmintrin.h>
+-#endif
++// #if 1
++// #include <mmintrin.h>
++// #endif
+ 
+ #include "grayouteffect.h"
+ #include "grayouteffect.moc"
+@@ -116,7 +116,7 @@
+ 
+ // ----------------------------------------------------------------------------
+ 
+-
++/*
+ #if 1
+ 
+ static __m64 inline multiply(const __m64 m1, const __m64 m2)
+@@ -169,7 +169,7 @@
+     _mm_empty();
+ }
+ #endif
+-
++*/
+ 
+ // ----------------------------------------------------------------------------
+ 
+@@ -289,8 +289,8 @@
+         quint32 *under  = (quint32*)(m_final + start);
+         quint32 *result = (quint32*)(m_image->data + start);
+ 
+-        scanline_blend_mmx(over, m_alpha, under, result, m_image->width);
+-        //scanline_blend(over, m_alpha, under, result, m_image->width);
++        //scanline_blend_mmx(over, m_alpha, under, result, m_image->width);
++        scanline_blend(over, m_alpha, under, result, m_image->width);
+     }
+ }
+ 




More information about the pkg-kde-commits mailing list