Commit Graph
45601 Commits
Author SHA1 Message Date
Henrik Rydgård a98d2d5ecf Mac buildfix 2023-03-11 11:42:41 +01:00
Henrik Rydgård 6a84d96a3c Add actual support for DDS textures to the replacer. Vulkan only. 2023-03-11 11:34:28 +01:00
Henrik Rydgård f936a6e9ce Structs and enums and build files 2023-03-11 11:19:33 +01:00
Henrik Rydgård a651fd8ffd Merge pull request #17091 from hrydgard/fully-threaded-replacement
Replacement: Do all I/O on threaded tasks
2023-03-11 08:34:14 +01:00
Henrik Rydgård 8e3428438e Replacement: Fix mip level loading. Fix bug if LoadIni gets rerun for some reason. 2023-03-10 23:58:15 +01:00
Henrik Rydgård 3dc2463b55 Simplify, avoid opening file twice (still rewinding!) 2023-03-10 23:36:00 +01:00
Henrik Rydgård 265ae5d0e9 Make the two methods more compatible 2023-03-10 23:28:11 +01:00
Henrik Rydgård 6ece79c3fa Move PopulateLevel and PrepareData next to each other, for later merging 2023-03-10 21:06:33 +01:00
Henrik Rydgård 84c8fee1f2 Interleave calls to Populate / PrepareData 2023-03-10 20:41:43 +01:00
Henrik Rydgård 9b7a1a2ddc Move the "Populate" phase onto the thread 2023-03-10 20:31:37 +01:00
Henrik Rydgård dad7777b6f Heap-allocate the desc 2023-03-10 20:13:10 +01:00
Henrik Rydgård c10d420904 Merge pull request #17090 from hrydgard/move-populate-to-replaced-texture
TextureReplacer code cleanup: Move Populate to ReplacedTexture
2023-03-10 18:27:59 +01:00
Henrik Rydgård ed7947c94b Finish the move of Populate to ReplacedTexture 2023-03-10 17:50:16 +01:00
Henrik Rydgård 9e8e2e41fa Move most of Populate to ReplacedTexture, although not the cpp 2023-03-10 17:43:12 +01:00
Henrik Rydgård 96111537e2 Move PopulateLevel to the texture 2023-03-10 17:26:41 +01:00
Henrik Rydgård 36f78a46c1 Rename PREPARED->POPULATED 2023-03-10 17:21:23 +01:00
Henrik Rydgård 81eed363eb Merge pull request #17089 from hrydgard/replacer-state-machine
Texture replacer: Replace three flags with a state field in ReplacedTexture
2023-03-10 17:03:33 +01:00
Henrik Rydgård 207e2259e7 Cleanup texture saving a bit 2023-03-10 15:39:45 +01:00
fp64 03b0d2e3ae Add VFS registration during unittest 2023-03-10 09:01:00 -05:00
Henrik Rydgård f459a8f71a Fix ini-less texture replacement 2023-03-10 14:58:44 +01:00
Henrik Rydgård 53791b1816 Restore functionality of the allowVideo flag, while preserving the early-out. 2023-03-10 14:18:42 +01:00
Henrik Rydgård 07fc551e4e State fixes, disable logspam 2023-03-10 14:16:14 +01:00
Henrik Rydgård 9f45271730 Tex replacer state machine instead of flags 2023-03-10 13:43:48 +01:00
Henrik Rydgård 304c474f3c Merge pull request #17088 from hrydgard/replacer-avoid-video
Replacer: Avoid tracking video textures
2023-03-10 12:43:07 +01:00
Henrik Rydgård 06b83115a5 Replacer: Avoid tracking video textures 2023-03-10 12:20:55 +01:00
fp64 1c41078487 Fix CMakeLists.txt 2023-03-10 05:41:12 -05:00
fp64 70e32fa21f Fix tabs vs spaces, tweak comments, error on BE 2023-03-10 05:41:12 -05:00
fp64 02500a05b7 Add more vfpu_*, move tables to assets 2023-03-10 05:41:12 -05:00
fp64 ba9234d1c4 Merge branch 'hrydgard:master' into vfpu-sincos 2023-03-10 15:06:17 -05:00
Henrik Rydgård 5d34d9112e Merge pull request #17087 from hrydgard/texture-replacer-move
Move the texture replacer to GPU/Common
2023-03-09 23:12:04 +01:00
Henrik Rydgård ddbbd74e77 Merge pull request #17086 from lvonasek/feature_openxr_foveation
OpenXR - Foveation implemented (Quest headsets only)
2023-03-09 21:33:23 +01:00
Henrik Rydgård 654f4bff40 Split out ReplacedTexture into its own file. 2023-03-09 21:19:20 +01:00
Henrik Rydgård cb10862510 Move texture replacer to GPU/Common.
Add new files ReplacedTexture.cpp/h too.
2023-03-09 21:11:53 +01:00
Lubos f24026d163 OpenXR - Increase foveation level 2023-03-09 21:04:30 +01:00
Lubos 7536b8dda0 Merge branch 'master' into feature_openxr_foveation 2023-03-09 20:43:11 +01:00
Lubos 4fcc69242e OpenXR - Foveation implemented (Quest only) 2023-03-09 20:42:49 +01:00
Henrik Rydgård ecf1134494 GL crashfix 2023-03-09 19:12:47 +01:00
Lubos 61b0513046 OpenXR - Platform flags for extensions refactored 2023-03-09 17:54:34 +01:00
Henrik Rydgård 938230e7d6 Merge pull request #17084 from hrydgard/replacement-remove-option
Remove hidden option ReplaceTextureAllowLate
2023-03-09 17:32:16 +01:00
Henrik Rydgård 8e02f14276 Remove hidden option ReplaceTextureAllowLate
Don't want to have to test little-used paths like this.
2023-03-09 15:39:46 +01:00
Henrik Rydgård cabc00be8d Merge pull request #17081 from xujibbs/patch-49
Update zh_CN.ini
2023-03-09 15:21:31 +01:00
Henrik Rydgård a4fef1ff2d Merge pull request #17080 from hrydgard/d3d11-simplify-texture-upload
Simplifies and speeds up D3D11 texture uploads, fix replacer bugs
2023-03-09 15:21:19 +01:00
xujibbs b75a51f054 Update zh_CN.ini 2023-03-09 22:12:14 +08:00
Henrik Rydgård b253225815 Fix another replacer lifecycle issue, causing unnecessary texture invalidation. 2023-03-09 15:03:17 +01:00
Henrik Rydgård 44c4e63753 Simplifies and speeds up D3D11 texture uploads. Also, fixes a bug with replacement off 2023-03-09 14:43:59 +01:00
Henrik Rydgård 38f34fb487 Merge pull request #17079 from lvonasek/review_openxr
OpenXR - Vertical HMD rotation to keys removed
2023-03-09 13:18:08 +01:00
Lubos b1f41c44fe OpenXR - Vertical HMD rotation to keys cleanup 2023-03-09 11:22:54 +01:00
Henrik Rydgård 16321256a0 Merge pull request #17078 from hrydgard/no-more-separate-levels
Texture replacer: Make the internal cache model texture-centric instead of miplevel-centric
2023-03-09 11:16:03 +01:00
Henrik Rydgård 092bbf5eaa Fix saving of textures 2023-03-09 10:51:15 +01:00
Henrik Rydgård 03df5b7831 Fix fileref memory leak 2023-03-09 00:33:37 +01:00