summaryrefslogtreecommitdiffstats
path: root/tests/auto/extras
Commit message (Collapse)AuthorAgeFilesLines
* Fix build for Qt6Mike Krus2020-05-061-1/+1
| | | | | | | | | | | | | - updated dependencies, excluding qtgamepad for now - fixed issues with Q_PROPERTY not supporting forward declarations - fixed for changes in QtQuick private API - fixed for changes in QtOpenGLVersionFunctions API - fixed for removal of QT_OPENGL_ES* macros - fixed for changes in QtConcurrent API - fixed RHI based build Change-Id: I42ccd2f101b7f0a78e2860c6d551722bf6710a11 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Merge remote-tracking branch 'origin/5.15' into devMike Krus2020-04-271-1/+5
|\ | | | | | | Change-Id: Id669d5c1aab29965eac0dabd1cb497e908dac23e
| * Split examples so that build works without qtdeclarativeJean-Michaƫl Celerier2020-03-111-1/+5
| | | | | | | | | | Change-Id: I98507808b43b116b1950fd60df54704562a234ce Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* | Geometry refactoringMike Krus2020-02-273-35/+35
| | | | | | | | | | | | | | Move QBuffer, QAttribute, QGeometry to Qt3DCore. Change-Id: I59dfd091eefadcada93350b3aba955f40b304385 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* | Remove buffer functor APIMike Krus2020-02-113-34/+0
|/ | | | | Change-Id: I78cc60ff634f909111b891d5b9716e19cae35f3b Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Remove QtGui module path from OpenGL related pathsMike Krus2020-02-062-2/+2
| | | | | | | | Many are moving to opengl module in qt6, will make merging easier. Change-Id: I0ad08510e6999a5d887d9197fe2cb0dc21919fb9 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Deprecate functor APIsMike Krus2020-01-311-0/+3
| | | | | | | | | | | | Deprecate functor based APIs for buffer generators, geometry factories, texture data generators and mesh loaders While these are useful for some of Qt3D's internal mechanisms, they complicate some of the backend operations. Will delete some or make them private in Qt6. Change-Id: I64eaa338e0306647867d2084819ef8591e2c91c0 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* QDistanceFieldGlyphCache: make sure the arbiter of atlas can be setWang Chuan2019-08-265-1/+211
| | | | | | | | | | | | | | | | | When using QText2DEntity to display text, the node of QTextureAtlas will be create when traversing the node tree, and it will use root node as its parent node. However, since the children node of root node is being traversed in this moment, QTextureAtlas will not be traversed, that means the change arbiter won't be set, and the change in frontend cannot notify backend. [ChangeLog][Qt3DExtras][QDistanceFieldGlyphCache] make sure the change arbiter of atlas for QText2DEntity can be set when traversing node tree, and add new auto test for this. Fixes: QTBUG-77084 Change-Id: Iad09efe4376ba61f54624965118358a160be42a2 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Add arguments to notify signals in QFirstpersonCameraControllerSean Harmer2017-03-281-2/+2
| | | | | Change-Id: Ic7a970bf51e11dde38bbf3ce9b708e957f9fee8e Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
* QForwardRenderer exposes the gamma of its viewportKevin Ottens2017-01-311-0/+21
| | | | | Change-Id: I67d5d23bdec1c01ef3e31cfdd47f4e4dd8eeacf4 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add (ac|de)celeration to QFirstPersonCameraControllerKevin Ottens2017-01-271-0/+40
| | | | | | | | Those two properties were added to the QML variant but not the C++ one. Let's fix this. Change-Id: Ibd0765993f42a7562bd922f2db5456c1fa6d6ad1 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Align QForwardRenderer API with its QML counterpartKevin Ottens2017-01-271-0/+26
| | | | | | | | | | | The QML based ForwardRenderer was slightly different: * window property instead of surface, so we provide an alias window name for surface in QForwardRenderer * frustumCulling property to control the corresponding node, also added here. Change-Id: I7ec51ee27e97c612ba09b73a43cf4d1baba343bf Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* QOrbitCameraController: add unit testsPaul Lemire2016-11-183-1/+161
| | | | | Change-Id: I9d35b44d9b2928e273e893c33a6aad09b2f3f971 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* QFirstPersonCameraController: add unit testsPaul Lemire2016-11-183-1/+140
| | | | | Change-Id: I22c94c6cc45392bca82e955725b425aab2e6d511 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add unit tests for QForwardRendererPaul Lemire2016-11-183-3/+187
| | | | | Change-Id: I45f91a0a0d6845df89df29561fca89760b255f01 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add unit test for QTorusGeometrySean Harmer2016-10-103-1/+380
| | | | | | | | | | | | | | | Also fix up some more problems with the torus. We were drawing some triangles more than once due to problems in the indexing. Fixed this by factoring out the calculations of number of vertices and triangles and takign care about needing more vertices to handle the texture coordinate wrapping at the seams but not more indices. Also renamed some members in the functors to be more consistent. Now the torus geometry should be perfect. Change-Id: I1198469531a5fd5e4ec8b86d47c9e66850fe50c7 Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
* Factor out the geometry test helper functionsSean Harmer2016-10-104-71/+114
| | | | | | | They will be needed to test other geometry convenience classes. Change-Id: Ibece97c393e3b0239454f28e7862cfffd400a0e8 Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
* Fix non-symmetric extents and resolutions for QCuboidMeshMiikka Heikkinen2016-09-081-12/+168
| | | | | | Task-number: QTBUG-55836 Change-Id: Ic5ee72f5ffb236fe15e46fa667159a139ad05b03 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Move tests for QCuboidGeometry into extrasPaul Lemire2016-08-243-0/+519
Change-Id: I6ffb9e0a743dfad78624b2edcfa2d93d69d685dd Reviewed-by: Sean Harmer <sean.harmer@kdab.com>