[Interest] some doubts about current graphics stack in Qt 5.1
pritam.ghanghas at gmail.com
pritam.ghanghas at gmail.com
Tue Dec 10 15:50:41 CET 2013
On Mon, Dec 9, 2013 at 9:16 PM, Thiago Macieira
<thiago.macieira at intel.com>wrote:
> On segunda-feira, 9 de dezembro de 2013 15:43:22,
> pritam.ghanghas at gmail.com
> wrote:
> > Within Qt
> > QtWIdgets use QPainter, which can use raster, native or opengl backends.
>
> There's no native backend anymore.
>
> > Most of the time it will be raster. But if one is using QGLWidget or
> sets a
> > QGLWidget as viewport. QPainter will switch to opengl. There are non
> > programmatic ways as well to make OpenGl default.
> >
> > QQuick always uses opengl API (it may not be hardware accelerated if mesa
> > or angle is used)
>
> ANGLE is accelerated. It's meant to translate OpenGL ES 2 to DirectX,
> which is
> usually accelerated.
>
That one slipped as I was too concentrated on OpenGL. Thanks for correcting.
>
> > Now a little specific, how does webkit rendering is done. Using QPainter,
> > opengl or it follows the same rules as above.
>
> QPainter.
>
> > ################# 1 #############
> > QWebView view;
> > view.show();
> >
> >
> > ################# 2 ##############
> > QGraphicsScene scene;
> > scene.addWidget(new QWebView);
> > view.addWidget(&scene);
> > view.setViewport(new QGLWidget);
> > view.show();
> >
> > I would assume 1 is using raster and second one is using opengl.
> > Are there any platforms where 2nd will be slower than first?
> > And what about WebView QML element?
>
> Everything is raster with WebKit. Web content was not designed for OpenGL,
> except for WebGL.
>
So you are saying that the above two cases are same.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
> Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
--
Regards,
pritam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131210/55a73303/attachment.html>
More information about the Interest
mailing list