Commit Graph

35900 Commits

Author SHA1 Message Date
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
Henrik Rydgård
ecf1134494 GL crashfix 2023-03-09 19:12:47 +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
Henrik Rydgård
ef14f28099 Fix logspam 2023-03-09 00:26:45 +01:00
Henrik Rydgård
4752e20ad4 Don't reuse the ReplacedTexture struct in "saved cache". 2023-03-09 00:24:30 +01:00
Henrik Rydgård
bda09be109 Texture color format doesn't belong as a per-level property, that's not supported.
All levels of a texture must have the same format.
2023-03-09 00:10:46 +01:00
Henrik Rydgård
4ba2001479 Replacer: Make the cache data model texture-centric instead of level-centric 2023-03-09 00:10:46 +01:00
Henrik Rydgård
dc7f461bf7
Merge pull request #17076 from hrydgard/more-texture-replacer-work
More texture replacer work
2023-03-09 00:10:37 +01:00
Lubos
6bcf65d526 OpenXR - Only horizontal HMD rotations to keys 2023-03-08 22:23:54 +01:00
Lubos
0fe5bd79c4 OpenXR - Manifest merge fail fixed 2023-03-08 22:13:55 +01:00
Henrik Rydgård
ad5f1e633f
Merge pull request #17034 from muxiaozi/master
Fix logic error: assign EGLSurface to EGLConfig
2023-03-08 21:53:20 +01:00
Henrik Rydgård
226197f30f Replace "none_" with nullptr. 2023-03-08 13:17:10 +01:00
Henrik Rydgård
81351056f4 Move file identification to the top of the file 2023-03-08 11:06:29 +01:00
Henrik Rydgård
bfddd04c11 Simplify GenerateIni using raw strings 2023-03-08 10:57:44 +01:00
Henrik Rydgård
625d93a2ae
Merge pull request #17073 from hrydgard/replacer-use-vfs
Use VFS for file access in the texture replacer
2023-03-08 10:48:18 +01:00
Henrik Rydgård
306fdde9d0 Correct error handling for missing ini (only accept it in directories, not zip) 2023-03-08 09:29:19 +01:00
Henrik Rydgård
74cad6b521 Quick buildfix 2023-03-08 09:17:26 +01:00
Henrik Rydgård
e277db63c0 Optimize away those extra GetFileInfo, since both backends can get the size during Open efficiently. 2023-03-08 09:11:25 +01:00
Henrik Rydgård
ce9000e7e0 Address most of the feedback 2023-03-08 09:04:08 +01:00
Henrik Rydgård
41fcb7a79f Add necessary check 2023-03-08 09:04:08 +01:00
Henrik Rydgård
16b0e1103a Check file existence early. Although, not sure if this is the right
thing on Android...
2023-03-08 09:04:08 +01:00
Henrik Rydgård
10ecc4afbd Use the VFS in the replacer to remove duplicated code 2023-03-08 09:04:06 +01:00
Henrik Rydgård
9b2eda3952
Merge pull request #17074 from hrydgard/fast-png-getsize
Texture replacer: Faster way to get width/height from a png
2023-03-08 08:58:19 +01:00
Henrik Rydgård
c4652d30e2 Address feedback 2023-03-08 08:29:23 +01:00
Henrik Rydgård
421b6e6632
Merge pull request #17075 from unknownbrackets/vfs-minor
Common: Cleanup zip file stat flag checks
2023-03-08 08:11:28 +01:00
Unknown W. Brackets
bfb7a5b093 Common: Cleanup an unused constant. 2023-03-07 22:00:30 -08:00
Unknown W. Brackets
2fce2df7f6 Common: Ensure VFS references not directly deleted. 2023-03-07 21:51:47 -08:00
Unknown W. Brackets
84b7df62ab Common: Cleanup zip file stat flag checks. 2023-03-07 21:36:33 -08:00
Henrik Rydgård
76c6058abe Texture replacer: Faster way to get width/height from a png 2023-03-07 22:20:56 +01:00
Henrik Rydgård
81817faf1d
Merge pull request #17072 from hrydgard/more-vfs-work
More VFS work
2023-03-07 21:58:43 +01:00
Henrik Rydgård
7f73eeae48
Merge pull request #17070 from Felipefpl/master
Updated brazilian portuguese
2023-03-07 20:40:19 +01:00
Henrik Rydgård
a43b62537a Buildfixes 2023-03-07 20:22:28 +01:00
Henrik Rydgård
97cf5f8d81 More renaming, initial implementation of manual file access for both VFS backends 2023-03-07 19:37:19 +01:00
Felipe
433be0a098
Updated brazilian portuguese
Updated all strings based on the several changes that were made.
2023-03-07 13:26:23 -03:00
Henrik Rydgård
23b310f59a VFS: Add boilerplate 2023-03-07 10:19:51 +01:00
Henrik Rydgård
9fe7eabade IniFile: Allow specifying which VFS to load from 2023-03-07 10:10:36 +01:00
Henrik Rydgård
3d5526a175 Allow specifying the VFS when loading INI files.
Will be useful in the tex replacer.
2023-03-07 10:04:10 +01:00
Henrik Rydgård
b4c899440c
Merge pull request #17063 from hrydgard/vfs-cleanups
VFS cleanups
2023-03-07 07:58:23 +01:00
Henrik Rydgård
a8bdf11fdc Headless buildfix 2023-03-06 16:56:16 +01:00