weston/libweston/renderer-gl
Pekka Paalanen a88144f9e1 gl-renderer: move magic constants into yuva2rgba()
These same magic constants were used in all cases, so move them into a
common place.

While we are touching all these lines, also change from the four floats
into a vec4. This allows further clean-up in the next patch.

This makes the code easier to read.

Behavior and results are unchanged.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2021-02-25 14:36:46 +02:00
..
egl-glue.c gl-renderer: Move EGL display creation to egl-glue.c 2020-02-18 18:11:26 +13:00
fragment.glsl gl-renderer: move magic constants into yuva2rgba() 2021-02-25 14:36:46 +02:00
gl-renderer-internal.h gl-renderer: implement intermediate framebuffer (shadow) 2021-02-25 13:16:02 +02:00
gl-renderer.c gl-renderer: support XYUV8888 wl_shm format 2021-02-25 14:36:24 +02:00
gl-renderer.h gl-renderer: Replace pbuffer-create args with struct 2020-03-20 15:25:24 +00:00
gl-shaders.c gl-renderer: rename color uniform to unicolor 2021-02-25 14:36:46 +02:00
meson.build gl-renderer: rewrite fragment shaders 2021-02-25 13:16:02 +02:00
vertex.glsl gl-renderer: move vertex shader into new file 2021-02-25 13:16:02 +02:00