How to optimise Qt Quick 2 applications for maximum performance

December 3, 2019

TALK: Optimizing the Rendering of Qt Quick 2 applications SPEAKER: Giuseppe D’Angelo COMPANY: KDAB TRACK: Graphics & 3D Talk recorded at the Qt World Summit 2019 event in Berlin. #QtWS19 November 2019 - BCC TALK DESCRIPTION: If you have ever wondered how Qt Quick applications are rendered to the screen, and how to use that knowledge to find and fix performance problems, then this talk is for you. Qt Quick 2 applications are notably easy to write. With just a few lines of QML code, we can create compelling, animated, fluid, 60FPS user interfaces. From time to time, however, we may face performance problems in our UI layer, especially in constrained hardware environments (mobile or embedded). In order to tackle these problems, we need to understand the foundations of Qt Quick 2’s rendering, and how to design our code in order to extract the maximum performances from the underlying hardware. And while it is true that premature optimization is the root of all evil, avoding premature pessimization is also extremely important, especially at early stages of design of a complex application. In this talk we will introduce the main principles behind profiling and optimizing the rendering of a Qt Quick 2 application. We will start by discussing how Qt Quick 2 renders a scene – namely, through its scene graph and via OpenGL calls. We will see how to gather information about how effectively Qt Quick is rendering a scene. Some of this information is available via “secret switches”, while other requires the usage of external tools, which is therefore necessary to master. Finally, we will discuss how to fix some of the most common performance problems: poor batching, excessive overdraws, fill rate limitation, and poor texture memory utilization. Practical experience with QML application is required, and some OpenGL knowledge is beneficial (but not necessary). Qt WEBSITE: For more info Qt, visit our site https://qt.io RESOURCES: For more videos from Qt visit our resource centre; https://resources.qt.io FOLLOW US ON SOCIAL: FB: https://www.facebook.com/qt/ LI: https://www.linkedin.com/company/4788... TW: https://twitter.com/qtproject THE Qt COMPANY Design - Develop - Deploy

Previous Video
What’s new in Kuesa and Qt 3D?
What’s new in Kuesa and Qt 3D?

TALK: What’s new in Kuesa and Qt 3D? SPEAKER: Paul Lemire COMPANY: KDAB TRACK: Graphics & 3D Talk record...

Next Video
Turn Sketch or Photoshop UI designs into working prototypes
Turn Sketch or Photoshop UI designs into working prototypes

TALK: Qt Design Studio Bridging the Gap SPEAKER: Thomas Hartmann COMPANY: KDAB TRACK: Graphics & 3D Talk ...

Convince your boss: 10 ways to make them say "Yes!"

Get Presentation