Commit graph

35911 commits

Author SHA1 Message Date
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
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
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