Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
cache QImage on grapics card for fast blitting?
davecotter last edited by davecotter
On the mac, i can cache a bitmap on the graphics card by converting it to a CGLayerRef, then blitting that into my CGContext instead of directly from my bitmap. This makes the blit much faster.
Is there an equivalent for QImage / QPainter?
looking for a solution that works on windows too.
davecotter last edited by
note i'm drawing into a QGraphicsView for all this. Would it be better to instead draw into a QOpenGLWidget ?