[Development] Accelerated/OpenGL drawing under Qt 5.0

Chris Meyer cmeyer1969+qt at gmail.com
Fri Sep 14 16:05:22 CEST 2012


On Fri, Sep 14, 2012 at 2:49 AM, Samuel Rødal <samuel.rodal at nokia.com> wrote:
> On 09/12/2012 06:52 AM, ext Chris Meyer wrote:
>> My software makes use of accelerated drawing using the techniques with
>> QGraphicsView and QGraphicsScene shown in this article:
>>
>> http://doc.qt.nokia.com/qq/qq26-openglcanvas.html
>>
>> Unfortunately things don't work smoothly under Qt 5.0.
>>
>> Is this technique expected to work? If not, what is the suggested way
>> to get accelerated drawing under Qt 5.0?
>>
>> Also, QGLPixelBuffer::hasOpenGLPbuffers() always returns false, where
>> it returned it true under 4.8. Is this also expected?
>
> A fix is in the pipe for this, implementing QGLPixelBuffer in terms of
> QOpenGLFramebufferObject: https://codereview.qt-project.org/#change,34833

That was fast! I'll try out the patch as soon as I can.



More information about the Development mailing list