1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 14:50:03 -04:00

Added shaders on GLSL 1.2 (#187)

* Added shaders on GLSL 1.2

- Used `glium::program` to create shaders
- Moved shaders code to its own sources and include it as str
- Added shaders implementation on GLSL which allows run egui on old hardware
  (Raspberry Pi 1/zero in game again)

* Moved webgl shaders code to sources in `shader` subdir

* Added GLSL ES shaders to glium backend to support OpenGL ES

* Described changes related to GLSL versions support
This commit is contained in:
Kayo Phoenix
2021-02-20 23:48:02 +05:00
committed by GitHub
parent ebc2486d22
commit c9919daa11
16 changed files with 413 additions and 200 deletions

View File

@@ -7,6 +7,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## Unreleased
* Added GLSL 1.2 shaders (now `egui` works well on old hardware which supports OpenGL 2.1 only like Raspberry Pi 1 and Zero)
* Added GLSL ES 1.0 and 3.0 shaders (by reusing from webgl backend)
## 0.9.0 - 2021-02-07