setSelectedPoint was called repeatedly with changing
data even when no selection was active. This could be easily seen
in the SurfaceGallery example, in which the Oscilloscope
caused unnecessary emitNeedRender calls from the setSelectedPoint
at each frame.
Pick-to: 6.8 6.9
Change-Id: I25abb9e9415310940af22887326a511a52da3f68
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Relies on Order independent transparencyín qtquick3d
Accurate OIT relies on commit
cbc1cc8c9bef15690e31485ab76e5ffc47fc59dd
Fixes: QTBUG-129384
Fixes: QTBUG-128235
Change-Id: I6f46a7fd00bf4ec79c5a9944d38e715e3a88dde5
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Small types fit into 16 bytes.
Pick-to: 6.8
Task-number: QTBUG-127446
Change-Id: Ic609ccef3badcc0eebd88c0099a355b0cf7e9a2e
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
This patch contains cleanup of the relevant
code and fixes the viewport and window size problems,
but does not fix the main resizing issue.
Also fix autotest failures that appeared after
autotests got enabled.
Pick-to: 6.8
Task-number: QTBUG-126506
Change-Id: Ib722e398ea48fe0d1312ac78c6641c690fb25d87
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Unify docs for QML properties \qmlsignal use.
Signals for {propertyName}Changed should be documented.
Move qml docs to proper source files.
Task-number: QTBUG-123522
Pick-to: 6.8
Change-Id: I47f34d10dc6bbf46d3c9712cee5d27aa5968a598
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
Result is not perfect but is better
Also renamed variables for clarity
Fixes: QTBUG-125578
Change-Id: I2b79e35e65a091be5f08519a17c673de59e76cd7
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
There are some type conversion issues on ios build
to be fixed by this patch
Change-Id: Idce02b43f1689900ff773af2bff8779ee7410591
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
Renamed some shader variables for clarity
Fixes: QTBUG-124833
Change-Id: I1f9b0961fccb6a9134fde65c58921840a3dcbcf8
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
Also disabling shadows for surface as they do not render correctly
Fixes: QTBUG-125281
Change-Id: I2bcd957c4c9bc6a9eafd292bfba2d913635ae736
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Dilek Akcay <dilek.akcay@qt.io>
Picking for the surface now happens one frame late so that the proxy
model can be updated one frame early for accurate picking.
Fixes: QTBUG-124008
Change-Id: I319a5ec9fe7504599f58ec901a0e270158c75168
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Due to recent changes to the grid, the qml spectogram had its
polar grid too big. This was because the function that calculates
scaling factors ignored polar graph completely.
Task-number: QTBUG-122050
Pick-to: 6.7
Change-Id: I05285bc4a5066acd1ec97199194cd5402307ef51
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
The gridgeometry is drawn with line primitives. Using one geometry for
the whole grid makes it easier to handle the grid as we don't need to
change properties for each individual line nodes. In addition, the grid
line repeaters got removed as they are not needed anymore.
Fixes: QTBUG-116661
Pick-to: 6.7
Change-Id: If657d1cda35ae78c9ef016235d99fecf75d716c9
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
On touch devices, it should go into slice when rotating the view
Fixes: QTBUG-121440
Change-Id: I68c30952231adaf8ea4f20fbf6b0d8634efd2321
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
The previoud input handlers have complicated architecture
to handle various types of inputs and also due to the previous
graphs' architecture.
This introduces a new approach which uses the quick handlers
for any types of input and also uses signal-slot based event
handling instead of setting custom input handlers.
Fixes: QTBUG-114451
Change-Id: I981ac8042fa43d20581605f4c42b25e9d0aa465d
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
The patch changes the slice data to be generated straight from the dataproxy rather than the model.
Fixes: QTBUG-120657
Change-Id: If1dceb758832180da8052280aef7d0244e9fa2e0
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Dilek Akcay <dilek.akcay@qt.io>