[Development] QT_XCB_NATIVE_PAINTING makes worse that without of it
Uwe.Rathmann at tigertal.de
Sun Mar 24 11:40:07 CET 2019
On 3/24/19 10:41 AM, Allan Sandfeld Jensen wrote:
> Note though that the recommended way of doing hardware accelerated painting
> these days with Qt, is using QML or the QtQuick scenegraph from C++. QPainter
> being so sequential and imperative will never be able to take full advantage
> of OpenGL because the API wasn't designed for it.
For an application, where you have to draw a curve of many points, that
are changing with every frame I don't see how the scenegraph is
beneficial. And why do you consider imperative vs. declarative being
relevant here at all ?
Everything that happens before passing the points to the GPU is
overhead, what means doing native X11 or OpenGL calls should be best.
More information about the Development