[Panel-devel] OpenGL applets

Matias Valdenegro T. mvaldenegro at informatica.utem.cl
Fri Jul 6 19:50:00 CEST 2007


El Vie 06 Jul 2007, Aaron J. Seigo escribió:
> On Thursday 05 July 2007, Matias Valdenegro T. wrote:
> > El Jue 05 Jul 2007, Zack Rusin escribió:
> > > this code allows you to write fully OpenGL based plasma applets. simply
> > > inherit Plasma::GLApplet instead of Plasma::Applet and reimplement
> > > GLApplet::paintGLInterface instead of Applet::paintInterface
> >
> > Nice, but what are the differences between this and using a QGLWidget as
> > the viewport of a QGraphicsView?
>
> just about everything. when using a qglwidget for a qgraphicview vieport
> you are still using the qgrahpicsscene api to paint and whatnot; this lets
> you use actual opengl programming in a given item and regardless of what
> the viewport is

I see, just thought that as there's a QOpenGLPainter, QGVItem's are painted 
using OpenGL calls, and not in software mode.


More information about the Panel-devel mailing list