Project

General

Profile

Actions

Feature #792

open

Try adding opengl to cairo in Launcher

Added by Hammel over 3 years ago. Updated 7 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
General
Target version:
Start date:
14 Aug 2020
Due date:
% Done:

70%

Estimated time:
Severity:
03 - Medium

Description

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

Some references:
  1. https://www.cairographics.org/OpenGL/
    1. https://sourceforge.net/projects/gtkglext/
  2. Cairo git on freedesktop.org for the 1.16 release in Buildroot
  3. https://bazaar.launchpad.net/~macslow/gl-cairo-simple/trunk/files
  4. http://ssvb.github.io/2012/05/04/xorg-drivers-and-software-rendering.html
  5. https://github.com/cubicool/cairo-gl-sdl2 - uses cairo opengl backend (but it's C++)
  6. https://cgit.freedesktop.org/cairo/ - cairo source - look in src/ for gl backend support
  7. 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.
  8. Update to VC library to allow X11 EGL on RPi
  9. https://docs.mesa3d.org/drivers/vc4.html
  10. GTK gl-slider (git)
  11. https://bazaar.launchpad.net/~macslow/gl-cairo-cube/trunk/files/24
  12. https://github.com/kika123/x11eglrpi/blob/master/k_eglGetDisplayCopy.c

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


Files

Move-EGL_DISPMANX_WINDOW_T-to-separate-file.diff (3.5 KB) Move-EGL_DISPMANX_WINDOW_T-to-separate-file.diff Patch to move EGL_DISPMANX_WINDOW_T to it's own file Hammel, 06 Sep 2023 11:03

Related issues

Related to PiBox - Infrastructure #1003: Cleanup buildroot configClosedHammel04 Jul 2023

Actions
Actions

Also available in: Atom PDF