[vspline] 25/72: nice working state of pv. license change of pv to GPL3 pv now has smooth zooming and panning at 60 fps for most cases.

Kay F. Jahnke kfj-guest at moszumanska.debian.org
Sun Jul 2 09:02:39 UTC 2017


This is an automated email from the git hooks/post-receive script.

kfj-guest pushed a commit to branch master
in repository vspline.

commit 34c802dadfdb66e55e3ce6abe798f1e1035c5b6c
Author: Kay F. Jahnke <kfjahnke at gmail.com>
Date:   Wed Jan 11 10:06:36 2017 +0100

    nice working state of pv. license change of pv to GPL3
    pv now has smooth zooming and panning at 60 fps for most cases.
---
 common.h | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/common.h b/common.h
index bee75bb..6f7825c 100644
--- a/common.h
+++ b/common.h
@@ -96,6 +96,23 @@ struct vector_traits
 //   typedef Vc::SimdArray < T , vsize > simdized_type ;
 } ;
 
+#else
+
+template < class T , int _vsize = 0 >
+struct vector_traits
+{
+  enum { vsize = 1 } ;
+
+  // if vsize given is precisely the Size of a Vc::Vector<T>, make simdized_type
+  // such a Vc::Vector, otherwise make it a Vc::SimdArray<T,vsize>
+  
+  typedef T type ;
+
+// to always use Simdarrays, use this definition instead:
+
+//   typedef Vc::SimdArray < T , vsize > simdized_type ;
+} ;
+
 #endif
 
 /// for interfaces which need specific implementations we use:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/vspline.git



More information about the debian-science-commits mailing list