On 02 Oct 2014, at 17:13, Helmut Mülner <helmut.muel...@gmail.com> wrote:

> Hi!
>  
> By stumbling over an out-of-memory problem in my application, I found out 
> about the implementation of the QML Canvas item: It uses 2 QImages as 
> internal buffers and uses QPainter to write into this buffer. (I also 
> reported https://bugreports.qt-project.org/browse/QTBUG-41657 )
>  
> Are there any plans to change this implementation and use OpenGl or the scene 
> graph more directly to improve performance and reduced the memory footprint?

We need two buffers, one for the thread that is rasterizing and one buffer on 
the render thread which can be uploaded into a texture.

If you want to use OpenGL for drawing, set Canvas.renderTarget: 
Canvas.FramebufferObject :)

cheers,
Gunnar

>  
> Best regards,
>  
> Helmut
>  
> _______________________________________________
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development

cheers,
Gunnar

www.sletta.org

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to