Re: [Interest] Draw a qimage with transparency on a QOpenGLPaintDevice

2022-05-02 Thread maitai
Hi, I discovered that it does not behave always like that. It happens only when painting very quickly many small QImages with transparent areas. And I found a way to fix it, but this is just adding mystery. Instead of pnt->drawImage(etc); I do pnt.beginNativePainting(); pnt.endNativePainti

[Interest] Draw a qimage with transparency on a QOpenGLPaintDevice

2022-05-01 Thread maitai
Hi, I have some heavy rendering that I would like to speed up using openGL. For the time being using only QPainter regular method but later some native openGL code. So instead of painting on a QImage, I am painting on a QOpenGLPaintDevice. All is fine except one point: When the painter draws