Commit Graph
45601 Commits
Author SHA1 Message Date
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
Henrik Rydgård ac94d3febf VFS: Add support for opening zip files through a Content URI 2023-03-06 16:44:48 +01:00
Henrik Rydgård 53172eff63 Renaming and file splitting 2023-03-06 16:42:50 +01:00
Henrik Rydgård 54af240013 Use a vector internally in VFS. 2023-03-06 16:42:50 +01:00
Henrik Rydgård 7649794164 Remove some ifdefs 2023-03-06 16:42:50 +01:00
Henrik Rydgård 3b39e9e068 Turn the VFS into a class, to be able to reuse it for other purposes. 2023-03-06 16:42:47 +01:00
Henrik Rydgård ebd8a63914 Merge pull request #17032 from hrydgard/cache-framebuffer-copy
Cache framebuffer copies (for self-texturing) until the next TexFlush GPU instruction
2023-03-06 09:03:39 +01:00
Henrik Rydgård 74f9b55669 Merge pull request #17055 from unknownbrackets/depth-zero-scale
GPU: Correct depth clip/cull for zero scale
2023-03-05 22:54:24 +01:00
Unknown W. Brackets 7a52f3a718 Merge pull request #17052 from hrydgard/use-optimal-image-stride
Vulkan texture uploads: Take optimalBufferCopyRowPitchAlignment into account
2023-03-05 08:57:36 -08:00
Unknown W. Brackets 9fcc1509e4 GPU: Correct depth clip/cull for zero scale. 2023-03-05 08:51:45 -08:00
Henrik Rydgård cc9c01b1d0 Vulkan texture uploads: Take optimalBufferCopyRowPitchAlignment into account
Might marginally increase texture upload performance on some GPUs, but
mainly just the right thing to do.

For example, on Intel, this is 64.
2023-03-05 17:32:41 +01:00
Henrik Rydgård 1c75392599 Merge pull request #17053 from GABO1423/uwp-cleanups-2.0
(UWP) More Build Overhauls
2023-03-05 10:24:49 +01:00
Henrik Rydgård bee65dde76 Merge pull request #17054 from unknownbrackets/jit-enable
iOS: Allow jit to be re-enabled
2023-03-05 09:38:00 +01:00
Unknown W. Brackets d47e46dbb4 iOS: Allow jit to be re-enabled. 2023-03-04 21:57:04 -08:00
Gabriel Morazán 2d5086112b (UWP) Remove All Redundant Conditionals 2023-03-04 19:19:14 -04:00