mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-24 22:43:39 +00:00
ba6f26393f
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. |
||
---|---|---|
.. | ||
alert_bg.frag | ||
alert.frag | ||
alert.vert | ||
cursor_mono.frag | ||
cursor_rgb.frag | ||
cursor.vert | ||
desktop_rgb.frag | ||
desktop.vert | ||
fps_bg.frag | ||
fps.frag | ||
fps.vert | ||
help_bg.frag | ||
help.frag | ||
help.vert | ||
splash_bg.frag | ||
splash_bg.vert | ||
splash_logo.frag | ||
splash_logo.vert |