[Interest] Qt and OpenCL crash course

Jason H scorp1us at yahoo.com
Wed Mar 12 21:47:56 CET 2014


Thanks for clearing that up Thiago. 

I can understand why QPainter needs to be raster. One of my more fanciful ideas would be that the toolkit provide QGlPainter that could be used by QPainter and other developers, for the subset of operations easily done by GL and QPainter. Of course, we could never make it default as current computer architecture has a large delay in moving textures to and fro the GPU. But it would be cool if we could flag operations to be accelerated.




________________________________
 From: Thiago Macieira <thiago.macieira at intel.com>
To: interest at qt-project.org 
Sent: Wednesday, March 12, 2014 4:28 PM
Subject: Re: [Interest] Qt and OpenCL crash course
 

Em qua 12 mar 2014, às 13:14:08, Jason H escreveu:
> I was hoping someone would say:
> QPainter is OpenCL enabled by default (or enabled with a switch), all the
> operations happen automatically because the kernel programs for applicable
> painter operations are already written. 

QPainter is raster based only and that cannot change. All painter operations 
are implemented in the CPU only and that is the way it will be.

If you want some hardware accelerated painting, there's a standard API for it 
by the Khronos Group already. It's called OpenGL... :-)
-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140312/752ff8b5/attachment.html>


More information about the Interest mailing list