Commit graph

1384 commits

Author SHA1 Message Date
Leon Styhre 2a4d9d334d Gamelist fade animations are now cancelled on certain navigation actions. 2022-09-09 17:52:20 +02:00
Leon Styhre a58153f08d The badge overlay images are now retained in the texture cache. 2022-09-08 19:04:56 +02:00
Leon Styhre b3148a7f74 Added a dummy RatingComponent object to SystemView to keep the cached texture entries from expiring. 2022-09-08 18:59:33 +02:00
Leon Styhre 2742424ca2 Some general code cleanup. 2022-09-08 18:56:02 +02:00
Leon Styhre a2769b98d4 Added a workaround for playing broken video files with invalid PTS values. 2022-09-08 18:38:19 +02:00
Leon Styhre b9303e5494 Mipmapping is now taken into consideration when calculating the VRAM usage. 2022-09-07 21:17:01 +02:00
Leon Styhre 406aecc6a9 Added two new properties tileHorizontalAlignment and tileVerticalAlignment to the image element. 2022-09-07 20:18:15 +02:00
Leon Styhre d362f62b45 Added explicit sorting of the custom event scripts. 2022-09-07 20:01:04 +02:00
Leon Styhre c537de51ef Some general code cleanup. 2022-09-07 19:59:27 +02:00
Leon Styhre 8361c4f15c Moved the Alignment enumerator from Font to GuiComponent. 2022-09-07 19:54:55 +02:00
Leon Styhre 503ff07d81 Fixed an issue where the rating stars would not display properly in the metadata editor and in the scraper.
Also fixed a minor rounding issue.
2022-09-07 19:29:56 +02:00
Leon Styhre feef706ba4 (Windows) Fixed an MSVC compiler warning. 2022-09-06 22:59:32 +02:00
Leon Styhre 487cbd84bc Fixed an excessive texture pop-in issue caused by a recent commit. 2022-09-06 22:39:28 +02:00
Leon Styhre b4b709b589 Added a tileSize property to the image element so that the size of each individual image in tiled textures can be defined. 2022-09-06 21:33:50 +02:00
Leon Styhre b6dc0bd72c Removed the font texture linear magnification support as it caused various rendering artifacts. 2022-09-06 00:51:16 +02:00
Leon Styhre 9d46625739 Added support for texture mipmapping with trilinear filtering. 2022-09-05 23:36:49 +02:00
Leon Styhre 1bbf32a6f5 Fixed some menu alignment issues. 2022-09-05 23:05:09 +02:00
Leon Styhre 311595ff62 Removed an unnecessary rounding in TextComponent. 2022-09-05 23:03:04 +02:00
Leon Styhre 01d410867c Moved back the wide SVG images size compensation from TextureData to ImageComponent. 2022-09-05 23:00:47 +02:00
Leon Styhre 5d78412b9d Fixed some pixel alignment issues for the carousel. 2022-09-05 22:39:26 +02:00
Leon Styhre b079421205 Changed it so that only fonts of a certain minimum size gets linear texture magnification applied. 2022-09-05 22:36:33 +02:00
Leon Styhre ff0e76332c Added rounding to various translations like camera movements. 2022-09-05 20:13:47 +02:00
Leon Styhre 881b602cb4 Fixed a rendering issue in ScrollableContainer. 2022-09-05 00:30:19 +02:00
Leon Styhre e8c74450a0 Enabled linear interpolation for all font rendering regardless of resolution. 2022-09-05 00:11:53 +02:00
Leon Styhre d36e64e23a Fixed a rendering issue in ButtonComponent. 2022-09-04 23:55:53 +02:00
Leon Styhre 77a2383683 Fixed a font rendering issue in TextListComponent. 2022-09-04 23:48:27 +02:00
Leon Styhre b9a2031cf6 Increased the maximum allowed size for the carousel for legacy themes only. 2022-09-04 22:36:50 +02:00
Leon Styhre dda63403fa Improved the renderer scaling accuracy. 2022-09-04 22:01:59 +02:00
Leon Styhre d242c84ea8 Set linear interpolation for the rating component in GuiMetaDataEd and GuiScraperSearch. 2022-09-03 21:43:36 +02:00
Leon Styhre 455b970a59 Reverted a removal of vertex rounding during the project matrix calculation. 2022-09-03 21:22:31 +02:00
Leon Styhre 947ab458ae Fixed some Clang compiler warnings. 2022-09-03 16:39:59 +02:00
Leon Styhre ce50c1121b Enabled linear interpolation for font texture magnification when running on display resolutions at or above approximately 1920x1080. 2022-09-02 21:30:16 +02:00
Leon Styhre 9b1fb95865 Enabled linear interpolation for font texture minifications. 2022-09-02 21:03:19 +02:00
Leon Styhre a1027c2580 Removed some projection matrix and vertices roundings which caused multiple pixel alignment issues. 2022-09-02 21:01:31 +02:00
Leon Styhre 4ade04d760 Some minor code cleanup. 2022-09-02 20:52:49 +02:00
Leon Styhre 039c27fa8e Added support for sizing SVG images arbitrarily (overriding the image aspect ratio by stretching and squashing). 2022-09-02 20:48:45 +02:00
Leon Styhre 3a9c7b92e3 Added support for arbitrary image aspect ratios to RatingComponent.
Also added an overlay property and fixed some potential crashes.
2022-09-01 17:40:29 +02:00
Leon Styhre 819d1b0341 Fixed some potential crashes in ImageComponent caused by invalid theme configuration. 2022-09-01 17:35:40 +02:00
Leon Styhre 6215ae8b57 Fixed two minor issues in RatingComponent. 2022-08-31 22:30:31 +02:00
Leon Styhre 54ded5cbb6 Changed RatingComponent to use shader-based clipping. 2022-08-31 21:19:09 +02:00
Leon Styhre 7b279a7c73 Made SVG rasterizations slightly more accurate. 2022-08-31 21:17:13 +02:00
Leon Styhre ed69e46b42 Fixed some issues where bundled SVG images would not get cached at the correct resolution. 2022-08-30 20:26:48 +02:00
Leon Styhre eced44934e Added clamping of 0.0 to 1.0 to the rotationOrigin property. 2022-08-30 19:56:38 +02:00
Leon Styhre 496b60fa7d Added support for clipping to the core GLSL shader. 2022-08-30 19:42:37 +02:00
Leon Styhre 6126016289 Cleaned up some font-related code. 2022-08-30 19:31:57 +02:00
Leon Styhre f61d0f1df8 Added a property to RatingComponent to set interpolation method (nearest or linear) when using raster images. 2022-08-28 20:45:04 +02:00
Leon Styhre 2c86e4f99e Removed the deprecated SVG force rasterization flag from the cache manager. 2022-08-28 20:21:58 +02:00
Leon Styhre 48a9571609 Refactored RatingComponent to improve rendering accuracy and performance. 2022-08-28 20:11:20 +02:00
Leon Styhre 0060cd48dc (Windows) Fixed a couple of MSVC compiler warnings. 2022-08-23 22:50:14 +02:00
Leon Styhre e553f68e90 Greatly improved application startup time by removing a lot of unnecessary splash screen re-rasterizations. 2022-08-23 22:34:56 +02:00