| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
importsinput, importsrender, importsscene3d
Reordering the header includes to comply with Qt coding conventions
Task-number: QTBUG-56185
Change-Id: I3b2b3ee60e397772bbcebac09b07c059fbd922db
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
| |
Task-number: QTBUG-56185
Change-Id: Ie52778260f5d2b82e79207bc8f7a77c9f9082935
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
| |
Reordering the header includes to comply with Qt coding conventions
Task-number: QTBUG-56185
Change-Id: I76f4eeb93b02b20f1d85d745f39253fd22327ef7
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
| |
Reordering the header includes to comply with Qt coding conventions
Task-number: QTBUG-56185
Change-Id: I60008858a4975621b9159d909908b6bba2f98f14
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
| |
Reordering the header includes to comply with Qt coding conventions
Task-number: QTBUG-56185
Change-Id: I3943678c183c4ef46d403e0fff878c3cad964dfa
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
| |
Reordering the header includes to comply with Qt coding conventions
Task-number: QTBUG-56185
Change-Id: I1d1b61c2fac42505f85a1c4421e1292259270568
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The GLSL ES specification (up to at least 3.0) does not mandate support
of dynamic indexing of uniform block arrays. It is supported by some
implementations (Tegra, Adreno 5xx) but we can't count on it being
supported in general.
Unfortunately some mobile drivers don't seem to be smart enough to
automatically unroll loops at compile time when the condition is
constant.
Task-number: QTBUG-54994
Change-Id: I44e7fa18dc46f0a11204cf98e3c7b4f3ed446327
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Reviewed-by: Oleg Evseev <ev.mipt@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Fixes warning:
cc1: warning: command line option "-Wno-reorder" is valid for
C++/ObjC++ but not for C
Change-Id: I0892d07ec15d40a361b728fd05dcf0234b69292f
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
| |
Reordering the header includes to comply with Qt coding conventions
Task-number: QTBUG-56185
Change-Id: I900997e93ba0e25351e74a91d4d43c5123431b97
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
| |
Undocumented parameter h,size,w,rect in Qt3DRender::QPaintedTextureImage::setHeight()
Change-Id: I7108b71ac84928b37db4f01218b83e908860e200
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-57573
Change-Id: Ie1be0282fbab6e4346a81f37eff7597b932da07e
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: I64bd08889fcd95dd41724652b84b34e8b9497ad3
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
|
|
|
|
|
| |
Change-Id: I53e040b84fa9fcc8ecec34c85d93da780b0e97ae
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
|
|
|
|
|
| |
Change-Id: Ic36141a63988a3070f7de453a8b6a3c0088866c8
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
|
|
|
|
|
| |
Change-Id: I0cca7a6037c4c599cc953c0d5d293c77f09216a0
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: If44d04450ca971ebefbdb767ef0e722ae893de3b
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Sleep render aspect if there are no jobs to create.
Task-number: QTBUG-55109
Change-Id: I52ce90ab781d6986321ae0cd72a14cca09098180
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mika Salmela <mika.salmela@qt.io>
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: I112100da22885b8f3868f235b44ea649e35755e9
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
|
| |
will get updated in Qt3DWindow::resizeEvent()
Task-number: QTBUG-58327
Change-Id: I9464ba193a225af17cc4638902d0c68e82640d41
Reviewed-by: Guillermo A. Amaral <gamaral@kdab.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QNodePrivate::unsetSceneHelper() used to be broken, in that it set
the m_scene of the the item that the NodeVisitor functor was executed on.
Subsequent calls for child nodes would then have a m_scene == nullptr,
and could thus not be de-registered.
This patch fixes this behavior by treating each node's m_scene separately
Task-number: QTBUG-57571
Change-Id: I779caadd6957a97514fd105cd16935c3edc9f41f
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use a job to traverse all active VAO handles to check if the
geometry and shader objects used to identify the VAO do stil exist.
If not, let the renderer dispose the VAOs.
Make sure to synchronize access to VAO state and hide state changes
behind member functions.
Change-Id: Ib77be67d55daa61885cd914af8d9cfc622cae940
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: I65d7e85abd707aea0554652694803bfdc52b8632
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
| |
Change-Id: I7dc349dc2b91078cda3cb97fa061a7362aa36ddc
Task-number: QTBUG-55489
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Call glEnable(GL_POINT_SPRITE) if PointSize renderstate is used with GL2.
If the point size is programmable, also enable
GL_VERTEX_PROGRAM_POINT_SIZE. If not, call glPointSize with the given
value.
Task-number: QTBUG-58346
Change-Id: Ic2fb33a45c0efb87d031838dd3141fa8ada7f63b
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
| |
To distinguish clearly from DirtyDataGenerator
Change-Id: Ib170529c027f24bf848a25f99dd34352a1d1030e
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: I9cecfb7ec366b51f1a9c99f9d8297b41dda05ead
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
| |
qaxisaccumulator.cpp:182: warning: QML property documented multiple times: 'real Qt3D.Input::AxisAccumulator::value'
Errors on \return
Change-Id: Ibff02113e1a4ac3cfc79d23960812345cba513cb
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
|
|
|
|
| |
Change-Id: I7b2675400a7111bdb1f9817d52a96706942c2f1d
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
|
|
|
|
|
|
| |
Undocumented parameter 'other' in Qt3DRender::QBufferDataGenerator::operator==()
Change-Id: Iadeeec3316df86bb3681e707051e43683b7e9bbb
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Once an object picker receives a press event, all further
events will be sent to it until the mouse is released.
This enables interactive with objects that move behind
other pickable objects. In that case, the pick event
will be sent to the active object picker.
This behavior is disabled if all pick events are
requested (which works as before).
Included an example where a cylinder is dragged to
control the radius of a cone (like a slider) and
moves behind another pickable object (while remaining
interactive).
Task-number: QTBUG-55495
Change-Id: I4e3b8466d01ca1d08ef48c1fa6f6abd5b5404980
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
5.8.0 removed early checks because it broke hover.
Restoring early checks by looking for at least one enabled
object picker that requires hover support.
Added a flag to job that can be set by pickers when they
are created, deleted or some property changed. This is
used to lazily update the state flags for the early
termination checks.
Also removed the dirty flag handling as it was not used
and never cleared.
Task-number: QTBUG-57611
Change-Id: Ib5c60290ee016d8c1fd3f24f7ebacff412fec239
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Create and delete the node manager along with
the renderer. This is require because backend
node have a pointer to the renderer so should
not outlive it.
Note that unregistering the render aspect is
probably not safe since the frame advance service
used in the aspect manager is owned by the renderer
(which gets destroyed when render aspect is
unregistered).
Also re-registering the render aspect does not
cause the backend nodes to be recreated since
startup is not called then.
Change-Id: I9d301d1b49528133bf28e3ae9ee5acf469c449ae
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: Ibff4bec011e8be18c44b2b9c91478aaa249c4dfc
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
| |
Task-number: QTBUG-57998
Change-Id: I84b3bb01452eddd493856cb01236f23baec76dc5
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
| |
follows up qtbase/4eb2feb2.
Change-Id: I9af28a8f050d9fe1a9c45f5e677e609b68e6b421
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
The decision whether we can use ushort instead of uint for the entries
in the index buffer depends on the value of each entry, not on
how many entries (indices) we have. Clean up the related code.
Task-number: QTBUG-44089
Change-Id: Id8e1cb422c1bd3a84f8964864a41cc4784edce61
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: Iac5441808ea98a56b6e6890519f62b2b2178f2cc
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: Ib2d06eb1b7013f30e17e78d1946c28fc7593c7c3
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
| |
It's a polymorphic class, so copying risks slicing. Found by clazy in
application code.
Change-Id: I2f3c03e2a0aa847c35a3192f3e5a4fbd8beae0cd
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
| |
Task-number: QTBUG-58057
Change-Id: Id078ad5f83a627112718a51ba85c5789bcae718d
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
| |
And call it from the dumpInfo() helper.
Change-Id: Ic8d766b01380ded46662331d5966516300fa6ddb
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: I8d6144a25963390b78ed9273a02b65b8e9cb37c4
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
| |
Also fix the examples to not perform frustum culling
Task-number: QTBUG-57989
Change-Id: If3755cad71158b62fffebdaeba41ba32e2b1d1ff
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
| |
This allows us to handle GLTF files with compressed texture formats
such as DDS.
Task-number: QTBUG-57998
Change-Id: If64309b6597d536b9a9772951e1becdfae011035
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
| |
Change-Id: If2bf137d971d9d208fb70d30c7ff018bab4fe7d0
Task-number: QTBUG-58020
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
|
| |
Happened when trying to shutdown immediately after creation by not giving a
chance to properly complete initialization. Added a semaphore to force
initialization to be completed prior to doing anything else.
Task-number: QTBUG-56573
Change-Id: Ia1ecbf0bb8e156e6dc0e8667ee031baf31e0ecc6
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
| |
Change-Id: Ic5e48d4b7290de94110f7cb815516b2841d02341
Task-number: QTBUG-55489
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
| |
m_dirtyBuffers may contain the same buffer twice. This way we avoid
uploading data twice to the GPU
Change-Id: I75befcbf81d784e731f3e1447405b9462ae5c8f9
Task-number: QTBUG-55489
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
| |
qpickingsettings.cpp:191: warning: Undocumented parameter 'faceOrientationPickingMode'
Change-Id: If2a0ec5ed772d420df683ffb313330b0c929f948
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
|
|
|
|
|
|
| |
Change-Id: I09f3ef3c2681dbaacf0a37acda3a3831e0a6a667
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|