Feature #792

Try adding opengl to cairo in Launcher

Added by Hammel 2 months ago. Updated 2 months ago.

Status:NewStart date:14 Aug 2020
Priority:HighDue date:
Assignee:Hammel% Done:

0%

Category:General
Target version:PiBox - 2.0 - Harkonnen
Severity:01 - Critical

Description

This is an experiment to see if we can speed up the UI.

Some references:
  1. https://www.cairographics.org/OpenGL/
  2. https://bazaar.launchpad.net/~macslow/gl-cairo-simple/trunk/files
  3. http://ssvb.github.io/2012/05/04/xorg-drivers-and-software-rendering.html
  4. https://github.com/cubicool/cairo-gl-sdl2 - uses cairo opengl backend (but it's C++)
  5. https://cgit.freedesktop.org/cairo/ - cairo source - look in src/ for gl backend support
  6. https://cairo.cairographics.narkive.com/acXWIWzV/does-cairo-use-hardware-acceleration - old but good discussion on using GL with Cairo.
    1. Buildroot needs Mesa added with vc4 support to get Cairo with GL.

Might want to bump to latest release (1.17.2) from Buildroot's 2020.02.4 LTS current (1.16.0)

History

#1 Updated by Hammel 2 months ago

  • Description updated (diff)

Also available in: Atom PDF