diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2021-07-13 19:23:39 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2021-08-11 08:04:32 +0000 |
commit | 84a017051693bab44a96f92fb4fd3f0c60264800 (patch) | |
tree | 3c10b67df854b712a39263c2ab1f4d6557b035e8 /src/plugins/cpptools/cpptoolsplugin.cpp | |
parent | f95d6c6009ae2d2bd905daaa4d69edd9bbe7ae97 (diff) | |
download | qt-creator-84a017051693bab44a96f92fb4fd3f0c60264800.tar.gz |
Tracing/QmlProfiler: Prepare for porting of shaders to Qt 6
This change touches up the shader handling code in Tracing and
QmlProfiler in order to pave the way for the pending porting of
the shaders to Qt 6.
- Use QSGGeometry::Attribute::createWithAttributeType instead of
QSGGeometry::Attribute::create
- Undefine some fields that are unused in Qt 6
- Add a couple of comments to document the relation between C++
variables and shader attributes
- Extract some code into functions
Change-Id: I0e7119484b6190a415a5c2d2a0bbd6465088cf19
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cpptoolsplugin.cpp')
0 files changed, 0 insertions, 0 deletions