Hi Tom, On 9/5/11 7:41 PM, "ext Tom Cooksey" <[email protected]> wrote: >While on the subject, it would be great if QVector* and QMatrix* internal >formats could be made to map to NEON intrinsic built-ins too so >operations could be implemented with vectorized instructions. I guess >that would also apply to SIMD on other processor architectures too...
I'm looking forward to a patch here :) Cheers, Lars > > > >On Sat, Aug 20, 2011 at 2:15 PM, Sean Harmer <[email protected]> wrote: > >On 20/08/2011 13:09, Giuseppe D'Angelo wrote: >> On Fri, Aug 19, 2011 at 8:35 PM, Keith Gardner >> <[email protected]> wrote: >>> I noticed that QVector2D, QVector3D, QVector4D, etcŠ use floats as the >>> storage type and I recognize that it was a performance decision to do >>>it >>> this way. I am just wondering why the getters and setters for the >>> structures use qreal as the parameter type instead of floats. >> And OTOH QMatrix4x4 uses qreal internally, leading to conversions >> to/from OpenGL's GLfloat when qreal == double. >> Cf. >>http://qt.gitorious.org/qt/qt/blobs/master/src/opengl/qglshaderprogram.cp >>p#line2188 >> Do you think it's worth to port it to float as well? > > >Or perhaps templatise it? Or use Eigen instead to save some work? > >Cheers, > >Sean > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. > >_______________________________________________ >Qt5-feedback mailing list >[email protected] >http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback > > > > > > > _______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
