OpenVG

From MozillaWiki
Jump to: navigation, search

Investigate OpenVG backend for Azure and cairo.

Actually, Gecko has 2 graphic API, thebe and Azure. For less CPU usages of B2G/Firefox OS, some companies are interesting OpenVG graphic backend to accelerate 2D graphics such as SVG on Firefox OS

Many OpenVG implementations on graphic IP are software-based. So even if implementing OpenVG backend, we don't get more performance on all devices for 2D. (It will require hardware implementation)

Target Device we investigate

1st target is "Native" OpenVG implement graphic chip by DMP (http://www.dmprof.com/).

Team

  • Digital Media Professional Inc. (DMP)
  • Fujitsu Software Technologies Ltd
  • KDDI
  • Mozilla Japan (birtles and mkato)
  • Ricoh Ltd

Target

  • Cairo (near target)
  • Azure

Memo

Multi-process HWA

  • B2G uses multi-process architecture and use gralloc to share out-of-process memory. We need investigate to use HWA (Use DMP's extended API?).

Cairo

  • Cairo already has OpenVG backend. But this is broken now.
  • Gecko uses cairo 1.10 based code now.

B2G

  • B2G renders on NativeBuffer and EGL context.

References

Azure Documents

GFX team plan of 2013

Other documents for hardware acceleration