| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| | |
Add a reference to Scene3D hoverEnabled
Change-Id: I59e282a985ae5af30ff22d7caf433fb3b7cd821b
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
| |
| |
| |
| |
| | |
Change-Id: Id7f37b014dec7f395bbf3d2c6c22ea59283257ec
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
| |
| |
| |
| |
| |
| |
| | |
So try to avoid performing these calls on such texture
Change-Id: I051fd6a0150d07656687a1f84756d8a3d506ec24
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Converting it to int would cause the viewport not to take the whole expected
size as the interger conversion would essentially floor the value.
Change-Id: Ic608b0e1a0910aadb8b98c3225f999cba6326535
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
|\ \ |
|
|/| |
| |/
| |
| | |
Change-Id: I8957f671305454e7b2db83f52a09a2fa4b6d3e67
|
| |
| |
| |
| |
| | |
Change-Id: If7759ce872d26087d181eefe24504409aa779ea9
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|\ \ |
|
|/| |
| |/
| |
| | |
Change-Id: Id2885cdbb45f8aa701e218b6201f0a3732b7ef11
|
| |
| |
| |
| |
| |
| |
| |
| | |
But only markDirty(ParametersDirty) as that's the only thing
this is affecting.
Change-Id: I450d013dc266ca70ca51cfa866b731a6e8b6499a
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
| |
| |
| |
| |
| |
| | |
Change-Id: Id82777c111827e8db8924d2d39b5844386344b69
Task-number: QTBUG-76767
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
| |
| |
| |
| |
| | |
Change-Id: I8d56836f1f075c7239b262454131062c10058026
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|\ \ |
|
|/| |
| |/
| |
| | |
Change-Id: I2a66e9344b72524431885bdf5f59fcaedb94c718
|
| |
| |
| |
| |
| |
| |
| | |
It's common while textures are loading
Change-Id: I360c88c72fbd0a034aff07451fd49be17b348d40
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We were instead checking against the last surface used (which could be null)
instead of the last known good surface to reset the render states. This could
result in not resetting the render states and keeping dangling pointers around.
To know if we can render, we check find the first non null surface in the list
of RV. In most cases we can safelly assume that if first RV has a surface, all
following ones will likely use the same surface.
If we have no good surface we skip the rendering. However in the case you have
a FG where the first RV has a surface but not the last one (which wouldn't
really make sense but can happen if you mess up), we could end up in the above
case where surface is nullptr though we have partially rendered something for
the RV which had valid surfaces.
Change-Id: I902b8c7a943ad2ca7e2f487873f73990cf8db433
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
| |
| |
| |
| |
| |
| |
| | |
State and parameter handling are the same between the two branches
Change-Id: Ic8394a969184daead33253c9303c20ecf1a97484
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When merging states, make sure we don't add several states of the same types
with possibly different values. We should only add states with type we don't
already have.
Since the FG traversal is done from leaf to root, we know that the states we
already contain should override any state that may have been specified higher
up in the FG branch.
Change-Id: I9bd1eadd37e8addf740a4b85b2318f9be269fedb
Task-number: QTBUG-76766
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|\ \ |
|
|/| |
| |/
| |
| | |
Change-Id: I0f68ab1277617c32b1c31f29d8793d23d9909208
|
| |
| |
| |
| |
| | |
Change-Id: Iead857526a06b104080ab843b26c49efc22f05cc
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It can be created with a non normalized dir vector but we should
always perform the computations with a normalized dir vector for
correct results.
Change-Id: Ie9108de7ed2092f6b979a70ad9391267fe6c4696
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| | |
Change-Id: I4499e945481a22adfbafcc82198f7c411d04301b
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In case a joint is added and destroyed within the same loop of the event loop,
we need to remove it from the list of dirty joints to process as this otherwise
results in an assert.
Change-Id: If2f4ece6e2d69a7801ce9c4ec2cb732f48895ad1
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| | |
Change-Id: Id886decd4f2bd83a2319b4ad792a15b7280cb448
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
colorbuffer -> colorBuffer
Fixes: QTBUG-76342
Change-Id: Ic63ac9b333710ebab17aa7c4ccd9e864f10e6fcf
Reviewed-by: Martin Smith <martin.smith@qt.io>
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|\ \ |
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
Change-Id: Iabe445fa892f2022aa1e58d1783a2d588d6b6a87
|
| | |
| | |
| | |
| | |
| | |
| | | |
Task-number: QTBUG-74165
Change-Id: I4d3de42cddd8f6e1e6729cc16a52e135ab7fa3b1
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
| | |
| | |
| | |
| | | |
Change-Id: I9e9da54e565ad7818e6ea8196a062af8b4931783
|
|/ /
| |
| |
| |
| |
| | |
Task-number: QTBUG-74391
Change-Id: Iec111e88d38fb9a143a60a647251601f331fc41e
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
| |
| |
| | |
Change-Id: Iff6e240187e3515a51f41a91da827d4a53c01a31
|
|\ \ |
|
|/| |
| |/
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: Iae5fa92dfdf8012315c043e20950368e42451e20
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The code snippets were outdated, referring to QML properties that
do not exist. In particular, the Deferred Rendering section contains
code that was based on an example that's since moved into tests.
Adapt the code to match the updates done to that example and also
mention where it originates from.
Task-number: QTBUG-73024
Change-Id: I9ec750d05f8e853e5614f33dadcbe44a0b42e356
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change adds missing C++ and/or QML documentation for:
* enum QBuffer::AccessType
* QBuffer::accessType()
* QBuffer::dataAvailable()
* ForwardRenderer::externalRenderTargetSize
* enumeration Qt3D.Render.Light::type
* Qt3D.Render.Light::color
* Qt3D.Render.Light::intensity
Fixes: QTBUG-73071
Change-Id: I48b13cb8001558b20bd801b6f96f5b5933144d82
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
|
| |\ |
|
| |/|
| | |
| | |
| | | |
Change-Id: I871b54c0af70d568a489416db859e827d865c273
|
| | |
| | |
| | |
| | |
| | |
| | | |
Change-Id: I639e7fd3ee6df52b10195b2e183bb46c4380350d
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
| | |\
| | | |
| | | |
| | | | |
Change-Id: I43d66c3533ee546f40c1a1373717721b48fcd23b
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ibfc879d78837fb297244384deef0bff699a3b105
|
|\ \ \ \ |
|
|/| | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I3ded63bf4c8f08f363327ab6297d0b7f59d4e39d
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I81f5367a391bc80f83ed4648a89cafc8ab379671
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ic5183b31ee0df54e7a99a48f71ac04fc648f92e2
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|\ \ \ \ \ |
|
|/| | | | |
| | |/ / /
| |/| | |
| | | | | |
Change-Id: I903f92a7b910eee165a2dd708a2d5fb25192ab14
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Automatic removal of components when they are destroyed is based on
connecting to the destroyed() signal. This however means that by the
time removeComponent() is called, the pointer is no longer a valid
QComponent (just a QNode). While accessing member data of derived
classes such as nodeId is fine, emitting signals from derived class
does nothing, and in some cases asserts.
Fix this by:
- doing the QComponent clean up from it's destructor
- implementing a separate method on QEntity to simply clear the now
partly invalid pointer from the list.
Change-Id: Id7632ee2ceaff6548c44c7a43ae40a0372febde9
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Parameters defined on an effect have priority over those defined in a Technique.
Change-Id: I49558a065b613d7ea9d1cbf0a64f6d5aad941cd3
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|\ \ \ \ \ |
|