Details
-
Bug
-
Resolution: Out of scope
-
P4: Low
-
4.6.0
-
None
Description
The documentation provided for implementing QWS graphics plugins is mostly theory only and no practical implementation example. This is the documentation provided:
http://doc.trolltech.com/4.6/qt-embedded-accel.html
http://doc.trolltech.com/4.6/qt-embeddedlinux-accel.html
As well as documentation on the hardware acceleration API:
DirectFB
OpenVG
OpenGL
All of which describe the technology, but don't give enough advice to actually implement a QScreen plugin to take advantage of these API's.
Developers wishing to create a new QWS graphics plugin could look at the existing plugins:
linuxFB
DirectFB
PowerVR
But these plugins themselves are not well documented, and not easy to follow.
There was a relevant example:
http://doc.trolltech.com/4.6/qws-svgalib.html
but this plugin no longer works or supported with 4.6 (see README in example)
The PowerVR driver is a new Reference Implementation, so we should provide an example page similar to that of the SVGAlib describing how the plugin works in great detail.
This following section is about the PowerVR driver, and should be expanded to an example of how a Accelerated Graphics Plugin should be done:
http://doc.trolltech.com/4.6/qt-embeddedlinux-opengl.html#reference-integration