| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Add relevant changes to backend so that the render capture can be used.
Change-Id: I0d4eaf0b1830c4a7c11a2ef1ec41167a429bfd1e
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
|
|
| |
Implement job for sending render capture images to frontend nodes
Change-Id: I39e9cc2f059f7a7528538b3bd0279cf001ed01c6
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: Ibb21c59904bd7077e0e254fce5822241b2b9ee82
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
|
| |
Change-Id: I51705fc223388e608820de8544bf67677a431594
Task-number: QTBUG-55469
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
|
| |
Change-Id: Ia720e3de334951eb64b6550fb078bcdda0995d69
Task-number: QTBUG-55469
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
|
| |
Change-Id: I924528efa760bed5c2d86e3a0233e1836ef003c0
Task-number: QTBUG-55469
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
|
| |
Change-Id: If5c9e381c4c07e3b2ce92a016cf6755ec799abf3
Task-number: QTBUG-55469
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
|
| |
Change-Id: Ie5b29563f5e88df6cce14655a0e3fb35fc8de1fa
Task-number: QTBUG-55469
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
| |
Change-Id: I58030219da9cd7998cefef7bc0cfeb356ba0e166
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
|
|
| |
Needed for unit testing and there's no real reason to make it protected
Change-Id: I638786b5a536066fb5bfe4d5eed0d5b6b2b37176
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
|
|
|
|
| |
Sometimes, dragEnabled may be disabled on an ObjectPicker. If
the only mouse events we get for a frame are of that type, then we can just
skip picking for the frame.
Change-Id: Ia24d1b165b0f6a8b2fc7e4d7a909dfe1c5c683aa
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
| |
Change-Id: I72d48a24ac2388a93166416146f05eded0688559
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
|
|
|
|
| |
Use a variable that expands to the latest plugin version instead of
hard-coding the string.
Change-Id: Ia933f761c6f91bc1cedeba9f7d6e1fb2ecb810d5
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
| |
By exporting it and making sceneChangeEvent public like in most other backend
classes.
Change-Id: I8d8a8c16c0ffebd79758f1021fb5ed5fe92e2571
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When rendering a cube map to an FBO, we may want to specify that we want to
render to all the faces rather than a single one. This is indeed possible with
a geometry shader and using gl_Layer. For such a case we need to be able to
specify that in the QRenderTargetOutput face property.
Note: gl_Layer can also be used with texture arrays but a neat api to specify
which layers to use on QRenderTargetOuput seems a bit more tricky in that case.
Change-Id: I6abf8667fd0905d78c22ef8d5f1f792a5973bbbe
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
|
|
|
| |
Otherwise this results in QML errors. This is needed since the enum is defined
on another QObject subclass and not QRenderTargetOuput directly.
Change-Id: I3d4be0e64f21b3128ae67342d60f6d32c960e81c
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If we convert a mat4 matrix to a mat3 matrix, then back to a mat4, this
removes the translation component from it. Making the skybox shaders use that
property allows to remove references to the camera translation in
QSkyboxEntity.
This makes using a skybox neater as we don't need to care about the Camera
position anymore. This also allows to render the same skybox with different
cameras which required to have duplicate QSkyboxEntity previously.
Change-Id: I1adddd17d151e4d26d0f19b048df88dbf738042b
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
| |
Change-Id: I3e5ba52e5b42483cbf954c5ac40123c1ff896b29
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
|
|
| |
So that we can benefit from compile time check
Change-Id: Idefd4f59d498255162a09aae0e5db372d258b242
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
| |
Change-Id: I50a65956460ae6791df2fe09aff84c81a667e17a
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
| |
Change-Id: Ifc4b934baf7b7baf673dfe4f27f048076ef434dc
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
| |
Change-Id: I0091f62cbcd7be787891099e0a7810e36907b49a
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
| |
Change-Id: I95535083e1717f67c610efc1d2834b9937b0bcb7
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
| |
Change-Id: Ic0b4aeb04a99747048f00c09dc18390c17849746
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
| |
Change-Id: Idcf4532d4660241db835033ce8a366e368469318
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
| |
Change-Id: I2532fcbf712d4a2194569d11891f0f3a7d7f7ae1
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
|
|
|
| |
Implementation for the render capture backend node.
Change-Id: I1a3153f4fac8c6d2809ed0ae701a95d456c78c20
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
|
|
|
|
| |
Needed so that we can have unit tests which unset the window before
destruction. Otherwise we end up with crashed with the PlatformSurfaceFilter
trying to unconnect itself for a destroyed window.
Change-Id: If9fe61dea8e5e0e55401c67fcaabc3dd78c4284b
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
|
|
| |
surfaceSize and devicePixelRatio aren't used
Change-Id: Ieaa811e1aa463dfda90fab9656f3781929678b21
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
| |
Change-Id: Id10633d705e407fbf7936896288300b088d93459
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
|
| |
Change-Id: I66c6d7a2d6c171b34e63e1de5436ce299156734c
Task-number: QTBUG-55333
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Setter wasn't set on the Q_PROPERTY declaration fixed.
Moved the setter to the Q_SLOT section to remain consistent with the rest of
the setters.
This should not affect binary compatibility.
Change-Id: I63b7182b7dd6a00c78951f05e06ee86ea8e07d38
Task-number: QTBUG-55333
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
tests/auto/input/input.pro
Change-Id: Ic89c7d9093c95bc1c5ca50f04ed34c00b5f261f4
|
| |
| |
| |
| |
| | |
Change-Id: Id57a69a80f9eddb28fd2e75ea55baf98dcac452c
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| | |
Change-Id: I79c159c70ed81345b58c6dabfd60437e20554e94
Task-Id: QTBUG-54585
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| | |
Change-Id: I2c8a34009d3bac400f5e156fe6321af744960de5
Task-Id: QTBUG-54585
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| | |
Change-Id: Ic4ab2d781403ada1206e7429ad1cd16ea2330aed
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| | |
Change-Id: If5a28e670e8eef0a9b5a75dc3451ee584f22e72c
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The bookkeeping and activation logic of ActionInput, InputChord and
InputSequence now move outside of the job, which make them testable
properly. The tests already show bugs which will be fixed in following
commits.
Change-Id: I4e434118a6ba285d08632c43d487b17ee5b4cb66
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
It will look in all the possible resource managers for the corresponding
id.
Change-Id: I335099cd4d718cdebb9b9b3381f751f3001bfb1e
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
ActionInput, InputChord and InputSequence all inherit from
AbstractActionInput now. Their process method does nothing yet though.
Change-Id: I0e3aee41b2c41aa4ee16144fa1e67de95466ea63
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is needed for the coming refactoring improving testability in the
input aspect. Right now we got some of the action input logic done
inside the job and some inside the class. This is in part due to the
lack of common interface between the different action input backend
node. This is a first step toward solving that.
Change-Id: I803ecd1f114f635d2b275d5dadc493733fc580e8
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| | |
Change-Id: I63f19713c3c7b248b9e278f54201d6da2aba9d55
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
This way we issue a warning but don't crash when a texture didn't load
properly.
Change-Id: Iec83fbfcdc77990a7350f1d2cbf75c69f8705fbe
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Porting over fixes from Sean which were only done in the QML variants of
the default materials (1791e4b and 17d5edb).
Change-Id: Id347066aa56b896c9e044850f55267e348f47db8
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| | |
Change-Id: I8e06a7f061d64a5d65e88663ea0974152775fd2f
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Since QFrameGraphNode is used for the notifier signal then it needs to
registered so that it can be passed across threads if necessary.
Change-Id: Ia66b444bb18d02faa04883bba809cb14c3b3036b
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| | |
Change-Id: I52159b0fa78ab915e73c2dc84bda9bccc3dbd0ef
Task-number: QTBUG-54889
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Will allow to set the status in the backend and update the frontend with it.
Change-Id: Iac47e9960b8ef56c4e45ea31c616c4bc2a8f3444
Task-number: QTBUG-54889
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
QRenderCapture frame graph node, frontend implementation.
Change-Id: Iebeec7a7718e5adda9996ff481dfdefc1568a467
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|