LookingGlass/client/renderers/EGL
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
..
shader [client] egl: add framework for multiple scaling algorithms 2021-02-21 14:20:41 +11:00
alert.c [client] egl: added DMA texture support for direct upload 2020-10-30 02:36:45 +11:00
alert.h [client] use cmake to generate renderers/fonts/clipboards headers/code 2019-03-28 19:56:14 +11:00
CMakeLists.txt [client] renderer/egl: implement support for rendering help text 2021-02-21 10:31:48 +11:00
cursor.c [client] all: properly support guest rotation 2021-01-19 02:54:56 +11:00
cursor.h [client] all: properly support guest rotation 2021-01-19 02:54:56 +11:00
desktop.c [client] egl: add framework for multiple scaling algorithms 2021-02-21 14:20:41 +11:00
desktop.h [client] egl: add framework for multiple scaling algorithms 2021-02-21 14:20:41 +11:00
draw.c [client] use cmake to generate renderers/fonts/clipboards headers/code 2019-03-28 19:56:14 +11:00
draw.h [client] use cmake to generate renderers/fonts/clipboards headers/code 2019-03-28 19:56:14 +11:00
egl.c [client] egl: add framework for multiple scaling algorithms 2021-02-21 14:20:41 +11:00
egldebug.c [client] egl: remove dependency on SDL 2021-02-21 10:31:49 +11:00
egldebug.h [client] egl: better debug output for EGL errors 2021-01-24 13:17:11 +11:00
fps.c [client] renderer: add ability to toggle the FPS display 2021-02-21 10:31:48 +11:00
fps.h [client] renderer: add ability to toggle the FPS display 2021-02-21 10:31:48 +11:00
help.c [client] egl: fix race condition in help overlay 2021-02-21 10:31:48 +11:00
help.h [client] renderer/egl: implement support for rendering help text 2021-02-21 10:31:48 +11:00
model.c [client] egl: remove dependency on SDL 2021-02-21 10:31:49 +11:00
model.h [client] use cmake to generate renderers/fonts/clipboards headers/code 2019-03-28 19:56:14 +11:00
shader.c [client] egl: remove dependency on SDL 2021-02-21 10:31:49 +11:00
shader.h [client] added missing include 2019-07-15 18:30:39 +10:00
splash.c [client] egl: always render desktop texture as opaque 2021-02-21 10:31:48 +11:00
splash.h [client] use cmake to generate renderers/fonts/clipboards headers/code 2019-03-28 19:56:14 +11:00
texture.c [client] egl: remove dependency on SDL 2021-02-21 10:31:49 +11:00
texture.h [client] egl: remove dependency on SDL 2021-02-21 10:31:49 +11:00