rainlab-inc / lvgl-opengl

OpenGL ES 2.0 Implementation of LVGL
GNU General Public License v3.0
11 stars 7 forks source link
lvgl opengles

lvgl-opengl

This is an example SDL application for OpenGL ES 2.0 implementation for LVGL aimed for to run on PinePhone.

OpenGL ES 2.0 fork of the LVGL can be found here.

SDL Driver can be found here.

Screenshot

screenshot

Quick Start

Requirements

Cloning the repository

$ git clone https://github.com/rainlab-inc/lvgl-opengl
$ cd lvgl-opengl
$ git submodule update --init --remote --recursive

Building

CMake

$ mkdir build
$ cd build
$ cmake ..
$ make -j4
$ ./lvgl-opengl

Draw Functions

Rectangle

Arc

TODO: Look for how to draw efficient arcs with GL.

Line

TODO: It will be probably easy - efficient if we draw with shaders.

Polygon

TODO: Look which components use draw polygon.