Henrik Rydgård
a9eaa4fdc8
Get rid of an ifdef
2023-03-21 10:24:36 +01:00
Henrik Rydgård
b86231115e
Merge pull request #17131 from HR1025/master
...
[what][style][gpu] some coding style refine
2023-03-18 18:22:32 +01:00
Unknown W. Brackets
5b0748a61c
Merge pull request #17137 from hrydgard/log-fixes
...
Log fixes
2023-03-17 18:51:47 -07:00
Henrik Rydgård
79f4e73110
Replacer: Perform the padding to pow2 size during CopyLevelTo, not during load. Saves memory.
2023-03-17 14:00:14 +01:00
Henrik Rydgård
8484dd4917
Nicer logging if no texture.zip file is there
2023-03-16 22:59:26 +01:00
Henrik Rydgård
ae8c804328
Merge pull request #17134 from hrydgard/more-replacement-work
...
Refactor the replacement cache
2023-03-16 12:37:48 +01:00
haoruiwang
41d561895b
[what][style][gpu] some coding style refine
...
[how]
1. use comment instead of unnecessary logic comparison
2. remove some useless code
3. move some implemention code from header to source
4. some more assert
2023-03-16 15:07:24 +08:00
Unknown W. Brackets
fa1a4d26dc
Windows: Fix crash dependent on alloc order.
...
Without IR, we don't allocate executable memory, so the first allocation
always fails.
2023-03-15 21:30:21 -07:00
Unknown W. Brackets
de4eb64298
Build: Fix MSVC 2019 again.
2023-03-15 21:28:46 -07:00
Henrik Rydgård
34926472aa
Log fix
2023-03-16 00:30:20 +01:00
Henrik Rydgård
f0f96750b1
After picking a task from the global queue, gotta break from the loop.
2023-03-15 22:31:24 +01:00
Henrik Rydgård
1cf4e83824
Show thread name in assert messagebox caption on Windows. Minor cleanup
2023-03-15 22:26:58 +01:00
Henrik Rydgård
e625727543
Fix debug symbols for ThreadContext by renaming it (was clashing with something else)
...
Also reorder the fields.
2023-03-15 12:06:32 +01:00
Henrik Rydgård
87a16b0386
Fix the stats
2023-03-15 10:19:00 +01:00
Henrik Rydgård
089b63c22f
Address feedback, except the stats.
2023-03-15 10:09:39 +01:00
Henrik Rydgård
2ac74e3d37
Remove the PushBufferType enum
2023-03-15 09:59:00 +01:00
Henrik Rydgård
181ddf8266
Change the API of the old VulkanPushBuffer to match VulkanPushPool.
2023-03-15 09:56:32 +01:00
Henrik Rydgård
f3bdf324f9
Garbage collect old buffers in push pool.
2023-03-15 01:25:03 +01:00
Henrik Rydgård
c8b25e50b0
Better debug vis for push pools
2023-03-15 01:25:03 +01:00
Henrik Rydgård
9fcd6d6612
Use thin3d's push pool in the draw engine too.
2023-03-15 01:25:03 +01:00
Henrik Rydgård
23fe57e774
Use VulkanPushPool for thin3d
2023-03-15 01:25:03 +01:00
Henrik Rydgård
56d792f422
Sketch the new VulkanPushPool
2023-03-15 01:25:00 +01:00
Henrik Rydgård
c6e0027604
OpenGL: Try a different way to exclude desktop compression formats in build
...
May fix #17110
2023-03-14 16:09:40 +01:00
Henrik Rydgård
91900eda7e
Don't try to generate mips for compressed replacement images
2023-03-14 11:55:21 +01:00
Henrik Rydgård
93bf82a906
Add KTX2 basis/UASTC texture transcoding support
2023-03-14 11:55:21 +01:00
Henrik Rydgård
2b1e87792f
Vulkan: During texture upload, batch the buffer->image copies to do all the mips at once.
2023-03-14 10:11:19 +01:00
haoruiwang
dae11c4ea6
[chore][gpu] Fix some clerical errors for GLQueueRunner but not effect logic
2023-03-14 14:22:13 +08:00
Henrik Rydgård
32e8ab3b5d
Import all of basisu_transcoder, set up build
2023-03-13 12:37:43 +01:00
Henrik Rydgård
1860a73d58
Address feedback from previous PR
2023-03-12 23:15:09 +01:00
Henrik Rydgård
9eb0e49765
Merge pull request #17097 from hrydgard/d3d9-dds
...
Texture Replacement: Support compressed textures in D3D9 as well
2023-03-12 18:44:24 +01:00
Henrik Rydgård
a4b5641f11
Add compressed texture format support checks
2023-03-12 16:18:46 +01:00
Lubos
983f8176dd
OpenXR - Enable user to switch between topdown and fps camera
2023-03-12 14:41:17 +01:00
Henrik Rydgård
25fbfd7a89
Finish up OpenGL compressed texture format checks. Show in dev screen
2023-03-12 12:20:10 +01:00
Henrik Rydgård
b44e879d21
Support DXT1/3/5 (BC1,2,3) in D3D9
2023-03-12 11:37:17 +01:00
Henrik Rydgård
b687f1bba8
Implement basic block compression support for OpenGL (without feature checks so far)
2023-03-12 00:14:06 +01:00
Henrik Rydgård
95ae2d91f9
Couple of more GL enums
2023-03-11 21:51:39 +01:00
Henrik Rydgård
a98d2d5ecf
Mac buildfix
2023-03-11 11:42:41 +01:00
Henrik Rydgård
f936a6e9ce
Structs and enums and build files
2023-03-11 11:19:33 +01:00
Henrik Rydgård
06b83115a5
Replacer: Avoid tracking video textures
2023-03-10 12:20:55 +01:00
Lubos
f24026d163
OpenXR - Increase foveation level
2023-03-09 21:04:30 +01:00
Lubos
4fcc69242e
OpenXR - Foveation implemented (Quest only)
2023-03-09 20:42:49 +01:00
Lubos
61b0513046
OpenXR - Platform flags for extensions refactored
2023-03-09 17:54:34 +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
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