summaryrefslogtreecommitdiffstats
path: root/src/foundation
Commit message (Collapse)AuthorAgeFilesLines
* Fix getting wrong text textureTomi Korpipaa2020-11-181-1/+1
| | | | | | | | | | eastl::hash occasionally returns the same hash for different numerical strings for some reason. Replace eastl::hash with qHashBits for CRegisteredString. Task-number: QT3DS-4203 Change-Id: Ied943d7489233792b84fb0f612e6019f11532909 Reviewed-by: Antti Määttä <antti.maatta@qt.io>
* Add support for MSVC2019 compilerv2.7.0-5.15.02.7Tomi Korpipää2020-06-161-0/+4
| | | | | Change-Id: Iac363eb60ad2d046e61d1d6d05cf80e6faf7e634 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Minor perf logging tweakKaj Grönholm2019-12-132-0/+10
| | | | | | | | | | | Show more clearly total runtime & application startup times. When QT3DS_ENABLE_PERF_LOGGING isn't defined, only these total times are shown. Task-number: QT3DS-4028 Change-Id: I1d9fe8bab5ed32584b2ad1c09b14cb01d25dc82f Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Improve perf logging #2Kaj Grönholm2019-12-092-11/+27
| | | | | | | | | | | | | | | Improve startup perf logging, including: - Move outputting startup perf logs into better place. Previously only part of the logs were printed as output happened too soon, now printing at first frame rendering. - Show also amount of calls and cumulative timestamps. - Improve log labels formatting. - Add more logging points into hot spots. Task-number: QT3DS-4021 Change-Id: I7db5a11ff10be1ccb691f82b10161e8ba7c316a6 Reviewed-by: Antti Määttä <antti.maatta@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Improve perf logging & timersKaj Grönholm2019-12-032-6/+10
| | | | | | | | | | | | | | | | | OpenGL runtime contains perf timers but they are not documented so probably not much used. Switch to using QT3DS_PERF_SCOPED_TIMER macro instead of direct SStackPerfTimer usage. Then SStackPerfTimer debugs overhead can be fully removed when QT3DS_ENABLE_PERF_LOGGING is not defined (default). Print first frame render time when qt3ds.perf_info is on. Task-number: QT3DS-4021 Change-Id: Id11a1c5bb8bf24f545e9bceb333212f345b29bb7 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Fix building & running runtime autotestsKaj Grönholm2019-11-281-0/+8
| | | | | | | | | | Building shouldn't change on mingw while enabling QT3DS_AUTOTEST_EXPORT on other platforms like before a06fe05660. Task-number: QT3DS-4014 Change-Id: Ic0f8ba487c3e8843312fa79f3f21d7c519ce71ce Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Use logging categories with all debug messagesAntti Määttä2019-10-071-5/+5
| | | | | | | | Task-number: QT3DS-3712 Change-Id: Ibb751d2ad462685f0ba39cef6a4d932708faac57 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Bump qml module versionTomi Korpipaa2019-10-011-2/+3
| | | | | | | | | | | Revision new APIs: asyncInit, shaderCache, exportShaderCache, stereMode, stereoEyeSeparation, textureId, and addImageProvider. Also fixed missing array in qt_attribution.json Task-number: QT3DS-3963 Change-Id: I3fc6ac38ff6f524a5268ad4706f4d0edcc0af6f3 Reviewed-by: Antti Määttä <antti.maatta@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Fix build on musl libcSamuli Piippo2019-08-091-1/+1
| | | | | | | | Use bits/local_lim.h only with glibc as it's not available on musl libc. Change-Id: Ibffa4ab5649b544664f99b16e94d6865148eeeb5 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix crash in format discoveryAntti Määttä2019-06-281-9/+9
| | | | | | | | | Simpleqml example crashes with the lambda approach. Change to regular function. Task-number: QT3DS-3721 Change-Id: I6cddd2b70c47bfb27fb2e87db02bf80a84285751 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Fix setting subpresentations via setAttributeMiikka Heikkinen2019-06-281-10/+25
| | | | | | | | | | | | | | Splitting the stringtable to static and dynamic parts broke cases where the string that was registered dynamically had already been registered to static side of the string table. This resulted the same string having two handles referring to it, which made equality checking unreliable. Task-number: QT3DS-3722 Change-Id: I5bf5f42935794f57b6947b877211f17263305b0f Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Jari Karppinen <jari.karppinen@qt.io> Reviewed-by: Antti Määttä <antti.maatta@qt.io>
* Fix string type data inputs and setAttribute leaking memoryMiikka Heikkinen2019-06-202-2/+68
| | | | | | | | | | | | Two leaks were fixed: 1 - String table now uses separate storage for dynamic strings 2 - Glyph cache is deleted if not used for current frame Task-number: QT3DS-3686 Change-Id: Ib4cf2c61c5301a030039fef51b6d00b06d988c45 Reviewed-by: Jari Karppinen <jari.karppinen@qt.io> Reviewed-by: Antti Määttä <antti.maatta@qt.io> Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
* Fix editor build on mingwAntti Määttä2019-06-112-13/+13
| | | | | | Task-number: QT3DS-3659 Change-Id: Ie3f4f9fd6712f858942e9c294a49af2b561bbd77 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Long live the slayer!Pasi Keränen2019-06-07124-0/+28985
Initial commit of OpenGL Runtime to repository. Based on SHA1 61823aaccc6510699a54b34a2fe3f7523dab3b4e of qt3dstudio repository. Task-number: QT3DS-3600 Change-Id: Iaeb80237399f0e5656a19ebec9d1ab3a681d8832 Reviewed-by: Pasi Keränen <pasi.keranen@qt.io>