Graphics

Laszlo Agocs

Boosting performance with shader binary caching in Qt 5.9

Published Thursday March 23rd, 2017 | 2 Comments on Boosting performance with shader binary caching in Qt 5.9
Posted in Dev Loop, Graphics, OpenGL, Painting, Qt Quick

Now that Qt 5.9 is getting closer, let’s take a look at a minor but immensely useful improvement to the basic OpenGL enablers that form the foundation of Qt Quick and the optional OpenGL-based rendering path of QPainter. Those looking at the documentation snapshots for 5.9 may have already come across some new functions in […]

Read More
Laszlo Agocs

Building the latest greatest for Android AArch64 (with Vulkan teaser)

Published Friday February 24th, 2017 | Comments Off on Building the latest greatest for Android AArch64 (with Vulkan teaser)
Posted in Android, C++, Dev Loop, Graphics, Mobile, OpenGL, QPA, Qt

Let’s say you got a 64-bit ARM device running Android. For instance, the Tegra X1-based NVIDIA Shield TV. Now, let’s say you are also interested in the latest greatest content from the dev branch, for example to try out some upcoming Vulkan enablers from here and here, and want to see all this running on […]

Read More
Andy Nichols (nezticle)

Making Movies with QML

Published Tuesday February 21st, 2017 | 10 Comments on Making Movies with QML
Posted in Dev Loop, Graphics, Qt Quick

One of the interesting things about working with Qt is seeing all the unexpected ways our users use the APIs we create.  Last year I got a bug report requesting an API to set a custom frame rate for QML animations when using QQuickRenderControl.  The reason was that the user was using QQuickRenderControl as an engine to […]

Read More
Laszlo Agocs

OpenGL Core Profile Context support in QPainter

Published Friday January 27th, 2017 | 2 Comments on OpenGL Core Profile Context support in QPainter
Posted in C++, desktop, Dev Loop, Graphics, macOS, OpenGL, Painting, Qt, UI, Windows

As many of you may know, QPainter has a multi-backend architecture and has two main paint engine implementations under the hood in Qt 5: the raster paint engine and the OpenGL2 paint engine, designed for OpenGL ES 2.0. The GL Paint Engine While in many ways the raster paint engine can be considered one of […]

Read More
Laszlo Agocs

Inside QImage (with a touch of Qt Quick and OpenGL)

Published Friday January 20th, 2017 | 4 Comments on Inside QImage (with a touch of Qt Quick and OpenGL)
Posted in C++, Dev Loop, Graphics, OpenGL, Painting, Qt Quick | Tags: ,

QImage is the most common container for image data in Qt applications. Getting a QImage that contains the pixel data of an image loaded from a file is fairly self-explanatory: QImage img; img.load(“some_image.png”); This can then be used with QPainter, can be passed to widgets, and can also be utilized in Qt Quick scenes via […]

Read More
Eskil Abrahamsen Blomfeldt

How to shoot yourself in the foot using only a scene graph (neat optimization trick inside)

Published Thursday January 19th, 2017 | 9 Comments on How to shoot yourself in the foot using only a scene graph (neat optimization trick inside)
Posted in Declarative UI, Dev Loop, Graphics, OpenGL, Performance, Qt, Qt Quick 2, Text and font handling, UI

I am trying to get into the habit of blogging more often, also about topics that may not warrant a white paper worth of text, but that may be interesting to some of you. For those of you who don’t know me, I am the maintainer of the text and font code in Qt, and recently I came across a curious customer case where the optimization mechanisms in the Qt Quick scene graph ended up doing more harm than good. I thought I would share the case with you, along with the work-around I ended up giving to the customer.

Read More
Laszlo Agocs

Which OpenGL implementation is my Qt Quick app using today?

Published Wednesday January 18th, 2017 | 4 Comments on Which OpenGL implementation is my Qt Quick app using today?
Posted in Declarative UI, Dev Loop, Embedded, Graphics, Performance, Qt Quick

Qt Quick-based user interfaces have traditionally been requiring OpenGL, quite unsurprisingly, since the foundation of it all, the Qt Quick 2 scenegraph, is designed exclusively with OpenGL ES 2.0 (the top of the line for mobile/embedded at the time) in mind. As you may have heard, the graphics API story is a bit more inclusive […]

Read More
Laszlo Agocs

Qt Graphics with Multiple Displays on Embedded Linux

Published Monday September 19th, 2016 | 8 Comments on Qt Graphics with Multiple Displays on Embedded Linux
Posted in Automotive, Dev Loop, Embedded, Graphics, OpenGL, QPA, Qt Quick

Creating devices with multiple screens is not new to Qt. Those using Qt for Embedded in the Qt 4 times may remember configuration steps like this. The story got significantly more complicated with Qt 5’s focus on hardware accelerated rendering, so now it is time to take a look at where we are today with […]

Read More
Laszlo Agocs

The Qt Quick Graphics Stack in Qt 5.8

Published Monday August 15th, 2016 | 14 Comments on The Qt Quick Graphics Stack in Qt 5.8
Posted in Declarative UI, Dev Loop, Embedded, Graphics, OpenGL, Painting, Qt, Qt Quick, Windows

This is a joint post with Andy. In this series of posts we are going to take a look at some of the upcoming features of Qt 5.8, focusing on Qt Quick. OpenGL… and nothing else? When Qt Quick 2 was made available with the release of Qt 5.0, it came with the limitation that […]

Read More
Laszlo Agocs

Graphics improvements for Embedded Linux in Qt 5.7

Published Tuesday June 7th, 2016 | 6 Comments on Graphics improvements for Embedded Linux in Qt 5.7
Posted in Dev Loop, Embedded, Graphics, News, OpenGL, QPA, Qt, Wayland

As is the tradition around Qt releases, it is now time to take a look at what is new on the Embedded Linux graphics front in Qt 5.7. NVIDIA DRIVE CX The linux-drive-cx-g++ device spec introduces support for the NVIDIA DRIVE CX platform. This is especially interesting for the automotive world and is one of […]

Read More
Get started today with Qt Download now