summaryrefslogtreecommitdiffstats
path: root/config_help.txt
Commit message (Collapse)AuthorAgeFilesLines
* Add -qt3d-simd option to enable SIMD instructionsPaul Lemire2017-08-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SSE2 SIMD option is enabled by default if the respective qtbase feature is enabled. In this sense, this is an opt-out feature. The SIMD instructions can also be extended to take advantage of AVX2 instructions by passing -qt3d-simd avx2. The use of SIMD instructions in Qt 3D can be disabled entirely with -qt3d-simd no. Note that these options *force* the use of SIMD instructions. This differs in semantics from the qtbase configure options for SIMD. In qtbase, there is also a runtime check on CPU capabilities before using SIMD instructions (except SSE2 on x86 or x86_64). Profiling in Qt 3D found that such function pointer indirection totally negated any performance gains. Therefore, given the need to choose this at compile time, this commit introduces a new option with these semantics. [ChangeLog][Qt3DCore][General] Added support for SIMD instructions to accelerate matrix and vector operations within Qt 3D. At present, SSE2 and AVX2 are supported. By default, SSE2 instructions are enabled. To additionally enable the use of AVX2 instructions, configure with the -qt3d-simd avx2 option. Passing -no-sse2 disables SSE2 use in QtCore, QtGui and Qt3D. Configuring with -no-qt3d-simd disables SIMD in Qt 3D only. Change-Id: Ifcc05004f39a420aa578c3e09d1236dea1fb1990 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Allow to disable aspects at configure timePaul Lemire2017-08-021-0/+5
| | | | | | | | | This allows to remove dependencies and reduce deployment size when a given aspect is not required. Change-Id: I5aa90e4825b375cd446c47727aa11d03c40703c9 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add config_help.txt to Qt3DMäättä Antti2017-04-241-0/+5
Add config help to specify what configurations Qt3D uses and what do they do. Change-Id: I280f5702d304a0f60111389a991778a0616f7fc2 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>