Commit Graph

7 Commits

Author SHA1 Message Date
Kai Köhne cd9de7b9b5 Replace QT_BEGIN_LICENSE:LGPL3 header
Replace outdated LGPL3 with LGPL header in src, and
GPL3-EXCEPT in tests.

Task-number: QTBUG-90321
Pick-to: 6.2
Change-Id: I3f6491cb402a993a4341a983c780337e8658c256
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2021-08-10 06:57:24 +00:00
Mike Krus 174cd487b4 Make sample meshes geometry renderers again
Introduce new geometry view class for each.

Change-Id: I8e9a8f3a078d4cc63f9656ae8142e39f05d755c7
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
2020-07-30 13:51:37 +01:00
Mike Krus 5bf4f93fcb Make default geometries views
In Extras, make QTorusMesh and others a QGeometryView rather than
a QGeometryRenderer. Requires changes to scene graphs here and there
but going forward there simple shapes could be used as proxies for
picking or collision detection, etc.

Change-Id: Id488e064080dfd303e448aba11e6b242236b81d4
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
2020-02-27 12:10:08 +00:00
Määttä Antti 540f11b0b3 Scene2D cleanup - remove qml engine and source
Remove QQmlEngine constructor and source property. Update unit tests and
manual tests accordingly.

Task-number: QTBUG-58876
Change-Id: Ide06bb1381f48efa5378f9a008476734a33089c1
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
2017-05-09 08:59:20 +00:00
Antti Määttä 154c3a9b44 Move scene2d to own module and implement conditional plugin loading
- Add quick3dscene2d module
- Add importsscene2d qml module
- Modify RenderAspect to load plugins conditionally
- change autotests to match the module change

Change-Id: If6596472acbd9a377561b2bfd2094a0585c781ac
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
2017-02-28 09:48:17 +00:00
Antti Määttä 0888e3db4d Change renderOnce to RenderPolicy enum
Change-Id: Ie37085ec884034c0f080c782ec44505f046c50bd
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
2017-01-27 13:57:06 +00:00
Antti Määttä 5fb7611e5f Render QML to texture examples
Adds tests for the RenderQmlToTexture.

Task-number: QTBUG-51656
Change-Id: Ice18b308b85bc522ac5cdb37894d360438b8b3ac
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
2017-01-26 12:08:02 +00:00