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
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
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
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
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
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
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
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
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
Unknown W. Brackets
63f370916b
riscv: Enable Zba/Zbb by soc compatible.
...
Instead of u74, because apparently some older u74 don't support it.
2023-03-03 03:37:58 +00:00
Unknown W. Brackets
38bbd4b8a7
Common: Fix printf format warning.
2023-03-02 06:21:24 +00:00
huhongwei
624e443b5b
Fix logic error: assign EGLSurface to EGLConfig
2023-03-02 09:13:31 +08:00
Henrik Rydgård
31d796e769
Vulkan on Android: In non-debug mode, avoid devices that were rejected by VulkanMayBeAvailable.
...
Fixes #16931
Can still use these devices in debug builds by modifying the ini.
2023-02-28 18:18:19 +01:00
Unknown W. Brackets
49deba7ce1
Merge pull request #17022 from hrydgard/poco-c40-text-fix
...
Android: Make font rendering work even absent support for R4G4B4A4 textures
2023-02-27 19:42:37 -08:00
Henrik Rydgård
970f7993df
Android: Make font rendering work even absent support for R4G4B4A4 textures.
...
This shouldn't normally happen as conforming drivers are required to
support that texture format, but the software driver that we
accidentally choose on Poco C40 (see issue #16391 ) doesn't.
That we choose that driver will be fixed separately. This fix on its own
at least lets the user comfortably navigate to settings and switch to
OpenGL.
2023-02-28 00:01:29 +01:00
Henrik Rydgård
3aa0a9e17b
Fix blackscreen, better debug print of display parameters
2023-02-27 15:21:58 +01:00
Henrik Rydgård
ca8af6f4c7
Fix "DebugAnnotate" (not used, but I used it temporarily to investigate #17014 )
...
See #17014
2023-02-27 10:39:49 +01:00
Henrik Rydgård
5d5e02d949
Attempted buildfix
2023-02-27 01:11:11 +01:00
Henrik Rydgård
ef4f17e998
Resurrect the Vulkan memory visualizer, but now it's global stats and pushbuffer stats.
2023-02-27 01:11:11 +01:00
Henrik Rydgård
8b431b39ba
Wrap the display globals in a struct ( #16998 )
...
* Wrap the display globals in a struct
Makes it easier to search/replace these, for future refactorings.
* Some renaming
* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)
* Attempt at buildfixing ios
* UWP buildfix
2023-02-25 13:09:44 +01:00
Henrik Rydgård
49e5460c9c
Remove count parameter from SetViewports. No use foreseen.
2023-02-25 07:12:53 +01:00
Unknown W. Brackets
335788a932
Vulkan: Remove logspam.
2023-02-16 19:34:44 -08:00
Unknown W. Brackets
27e60a9f2e
riscv: Sum weighted matrices in vertexjit.
...
Not yet doing pos/norm, so not used yet.
2023-02-16 18:32:58 -08:00
Unknown W. Brackets
04ce3a0572
riscv: Allow subset of B extension to be used.
2023-02-16 16:09:22 -08:00
Henrik Rydgård
64e80423a6
Simplify the tilt code, tweak a bit
2023-02-16 11:07:57 +01:00
Henrik Rydgård
18b08637f6
Merge pull request #16968 from unknownbrackets/riscv-vertexjit
...
riscv: Include morph in vertexjit
2023-02-15 07:31:01 +01:00
Unknown W. Brackets
684aa75388
riscv: Include morph in vertexjit.
2023-02-14 20:20:55 -08:00
Unknown W. Brackets
1ec33ddc04
riscv: Use __riscv_flush_icache() on Linux.
...
This seems to perhaps clear icache on all harts. Otherwise crashing is
seen. Not sure what to do on other platforms.
2023-02-14 19:59:42 -08:00
Henrik Rydgård
132e8eeccd
Now these variables need to be initialized
2023-02-14 22:46:32 +01:00
Henrik Rydgård
cebb885e84
Address feedback
2023-02-14 10:09:54 +01:00
Henrik Rydgård
a7baa3580b
Some code cleanups around rewind.
2023-02-14 10:09:36 +01:00
Henrik Rydgård
86a19cebfd
Merge pull request #16957 from unknownbrackets/riscv-vertexjit
...
riscv: Initial vertexjit
2023-02-13 08:33:05 +01:00
Unknown W. Brackets
77b2e63876
riscv: Add colors to vertexjit.
...
This don't feel very efficient, but they overall beat non-jit.
2023-02-12 23:05:35 -08:00
Unknown W. Brackets
0b05d20c0a
riscv: Fix poison with compressed instructions.
2023-02-12 13:02:55 -08:00
Unknown W. Brackets
89c18d8077
riscv: Cleanup missing Poison, Crash.
2023-02-12 12:10:29 -08:00
Lubos
c8daec9f40
OpenXR - Do not block stereo if world unit is not specified
2023-02-12 09:28:02 +01:00
Henrik Rydgård
5ad111cfc4
Return value fix
2023-02-08 08:59:47 +01:00