/EglCore

Utilities for EGL / OpenGL drawing on Android, written in Kotlin and based on Google's Grafika.

Primary LanguageKotlinMIT LicenseMIT

EglCore

EglCore is an Android library that makes EGL and OpenGL drawing simpler. It is not meant to be used for complex drawing tasks, but rather to make common and simple tasks simpler, even for people that do not have any OpenGL experience [like myself].

Most of the ideas here were taken from the invaluable Google's Grafika project, but refactored to follow a more object-oriented interface and rewritten in Kotlin.

implementation 'com.otaliastudios.opengl:egl-core:0.1.1'

See this in action in a zoomable and pannable Surface in the ZoomLayout project.