Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.

Qt-contributors-summit-2012-Qt-OpenVG

From Qt Wiki
Jump to navigation Jump to search
This article may require cleanup to meet the Qt Wiki's quality standards. Reason: Auto-imported from ExpressionEngine.
Please improve this article if you can. Remove the {{cleanup}} tag and add this page to Updated pages list after it's clean.

Why?

Board having HW-accelerated OpenVG: RasperryPi, freescale iMX6, other (lower level) freescale boards. Some of these boards have separate hardware for VG and GLES, 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 GLES 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 … QPA-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?