LookingGlass/client/renderers/EGL/shader
Quantum ba6f26393f [client] egl: add framework for multiple scaling algorithms
This commit fixes the issues with the meaning of useNearest being flipped
by removing the variable and use enumerations.

We define an enumeration EGL_DesktopScaleType to express the type of scaling
needed to be performed: no scaling, upscaling, or downscaling. This is
updated when either the frame size or the viewport size changes.
Previously, we only updated the useNearest when the frame size changes.

The desktop shader can now support an enumeration of scaling algorithms,
although only nearest and linear are currently implemented.

Like before, nearest is used when not scaling or upscaling, and linear is
used when downscaling.
2021-02-21 14:20:41 +11:00
..
alert_bg.frag [client] use cmake to generate renderers/fonts/clipboards headers/code 2019-03-28 19:56:14 +11:00
alert.frag [egl] alert: fix fuzzy font bug and make alerts a little more plesant 2019-05-23 19:58:12 +10:00
alert.vert [egl] alert: fix fuzzy font bug and make alerts a little more plesant 2019-05-23 19:58:12 +10:00
cursor_mono.frag [client] use cmake to generate renderers/fonts/clipboards headers/code 2019-03-28 19:56:14 +11:00
cursor_rgb.frag [client] egl: move rotation into the fragment shader 2021-01-15 13:13:39 +11:00
cursor.vert [client] app: rename up,right,down,left rotation to 0,90,180,270 2021-01-19 02:53:47 +11:00
desktop_rgb.frag [client] egl: add framework for multiple scaling algorithms 2021-02-21 14:20:41 +11:00
desktop.vert [client] use cmake to generate renderers/fonts/clipboards headers/code 2019-03-28 19:56:14 +11:00
fps_bg.frag [client] use cmake to generate renderers/fonts/clipboards headers/code 2019-03-28 19:56:14 +11:00
fps.frag [client] use cmake to generate renderers/fonts/clipboards headers/code 2019-03-28 19:56:14 +11:00
fps.vert [client] use cmake to generate renderers/fonts/clipboards headers/code 2019-03-28 19:56:14 +11:00
help_bg.frag [client] egl: create 24-bit colour context 2021-02-21 10:31:48 +11:00
help.frag [client] renderer/egl: implement support for rendering help text 2021-02-21 10:31:48 +11:00
help.vert [client] renderer/egl: implement support for rendering help text 2021-02-21 10:31:48 +11:00
splash_bg.frag [client] egl: always render desktop texture as opaque 2021-02-21 10:31:48 +11:00
splash_bg.vert [client] egl: always render desktop texture as opaque 2021-02-21 10:31:48 +11:00
splash_logo.frag [client] egl: always render desktop texture as opaque 2021-02-21 10:31:48 +11:00
splash_logo.vert [client] egl: always render desktop texture as opaque 2021-02-21 10:31:48 +11:00