[Panel-devel] OpenGL applets

Aaron J. Seigo aseigo at kde.org
Fri Jul 6 12:43:14 CEST 2007


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 

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20070706/c18c0765/attachment.pgp 


More information about the Panel-devel mailing list