The Graphics Dojo is a place where we show off advanced and fancy graphics effects related to Qt and graphics.
The source code for all the examples can be checked out with subversion:
svn checkout svn://labs.trolltech.com/svn/graphics/dojo
X11 Widget Mirror
A neat example showing how to monitor contents of a X11 window for changes and compose it with
some transformation. All done in real time.
svn://labs.trolltech.com/svn/graphics/dojo/qx11mirror
...
ARGB
This example shows how to create ARGB windows. Meaning windows which can be drawn to using transparent brush and will in turn be transparent. The example loads an SVG file and renders its contents in a transparent window, then adds a checkbox that makes it show/hide an icon in the upper right corner.
svn://labs.trolltech.com/svn/graphics/dojo/argb
...
Previous posts in this topic:
Whats Hot and whats Not
An Overview
The Raster Engine
The OpenVG Engine
The OpenGL Engine
The Cost of Convenience
Fast Text
In this series that we’ve been doing, I wanted to cover threading, a topic that has been actively discussed amongst some of the trolls over the last few months. We’ve had support for rendering into QImage’s […]
Previously in this topic:
Whats Hot and whats Not
An Overview
The Raster Engine
The OpenVG Engine
The OpenGL Engine
The Cost of Convenience
In my previous post, The Cost of Convenience, we saw quite clearly that text drawing was a major bottleneck. Text drawing is quite common in GUI applications though, so we need a solution for that. If we break […]
Previous posts in this topic:
Whats Hot and whats Not
An Overview
The Raster Engine
The OpenVG Engine
The OpenGL Engine
So, its time for my next post. Todays topic is how convenience relates to performance, specifically in the context of QGraphicsView. My goal is to illustrate that the way to achieve fast graphics is to pack your QPainter draw calls […]
Introduction
Here’s the next instalment of the graphics performance blog series. We’ll begin by looking at some background about how OpenGL and QPainter work. We’ll then dive into how the two are married together in OpenGL 2 Paint Engine and finish off with some advice about how to get the best out of the engine. Enjoy!
Why […]
Todays topic is the raster engine, Qt’s software rasterizer. Its the reference implementation and the only paint engine that implements all possible feature combinations that QPainter offers.
History
The story of Qt’s software engine started around December 2004, if my memory serves me. My colleague Trond and I had been working for a while on the new […]