Qt-contributors-summit-2012-Qt-OpenVG: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
==Why?==


Board having HW-accelerated OpenVG: RasperryPi, freescale iMX6, other (lower level) freescale boards. Some of these boards have separate hardware for VG and <span class="caps">GLES</span>, meaning using VG where it makes sense could take better advantage of the hardware’s capabilities. This is the case for FreeScale boards, but on BCM2835 (Raspberry Pi) OpenVG and <span class="caps">GLES</span> share hardware resources.
==Possible fields of improvements/enablers==
* basic enables like: QSurfaceType, QWindow, (for the future within a possible: QOffscreenSurface)
* qtcompositor using native-openvg
** implement a minimalistic set of qml/declarative components + a corresponding, kind of openvg-scenegraph.
** in the first iteration of the components-sets could be limited to wayland-window + animations
** later some additional openvg primitives and effects could added
* maybe enums in QtGui
==resurrect openvg paintengine:==
* quick1/webkit1/widgets
* as a separate module
* caution: we need to set openvg flags when creating eglcontext … <span class="caps">QPA</span>-level
* openvg-widget as viewport
==Webkit2==
* There is already enablers in WebCore:: GraphicsContextOpenVG.cpp
* Anyway a lot(!) of work for qt-webkit2 because it’s mainly QImage based and makes a lot of assumptions on being on raster/CPU-memory
* A first, “small”, isolated task could be html5-canavas painting in qt-webkit2
==Quick2==
* canavas in quick2
* same code as webkit2-canvas?

Revision as of 13:56, 24 February 2015