Commit Graph

3210 Commits

Author SHA1 Message Date
Henrik Rydgård
5154e5e7b8 Add some padding to the textview, buildfix 2023-01-31 21:26:12 +01:00
Henrik Rydgård
4f20852953 cleanup 2023-01-31 20:38:09 +01:00
Henrik Rydgård
1f3969aff3
Merge pull request #16873 from hrydgard/dedicated-thread
Add facility to run tasks on dedicated threads using the ThreadManager interface
2023-01-31 11:50:59 +01:00
Henrik Rydgård
c8dce81ff0
Merge pull request #16156 from hrydgard/opengl-thread-refactor
OpenGL threading refactor
2023-01-31 11:14:01 +01:00
Henrik Rydgård
6b0903f566 Add facility to run tasks on dedicated threads using the ThreadManager interface.
Useful for things that should be run ASAP even if the threadpool is full,
at a small extra cost. (Not recommended for very small tasks).

Considering using this to resolve the deadlocks in #16802.
2023-01-31 11:07:40 +01:00
Henrik Rydgård
c88189289b
Merge pull request #16867 from hrydgard/initialization-cleanups
Initialization cleanups
2023-01-31 10:12:50 +01:00
Henrik Rydgård
df1c013272
Merge pull request #16862 from unknownbrackets/cpu-detect
Add and use the cpu_features library for feature detect
2023-01-30 18:47:36 +01:00
Henrik Rydgård
b97749d623 Assorted initialization cleanup and similar, found by valgrind and warnings 2023-01-30 18:31:49 +01:00
Henrik Rydgård
cb16f193ec Fix the problem. Still need to leave the loop with SDL even if we supply a swap function. 2023-01-30 15:45:05 +01:00
Henrik Rydgård
0f52954eae Minor log cleanups 2023-01-30 14:38:05 +01:00
Henrik Rydgård
d43452f0ce Fix to shutdown sequence 2023-01-30 11:49:31 +01:00
Henrik Rydgård
436a3e0d61 Cleaner exit from emuthread, as used by OpenGL. Don't know how it worked before... 2023-01-30 11:49:31 +01:00
Henrik Rydgård
a0c893cc8f Fix ThreadFrame. All OK now except shutdown, it seems 2023-01-30 11:49:31 +01:00
Henrik Rydgård
2659fd6f66 Android work. Make the Android OpenGL exit prodecure make more sense 2023-01-30 11:49:31 +01:00
Henrik Rydgård
b62572a78f Refactor the framedata/GPU thread management. 2023-01-30 11:49:31 +01:00
Henrik Rydgård
f773e66e0f Minor optimization in GLQueueRunner 2023-01-30 11:24:53 +01:00
Henrik Rydgård
bfab820947 Merge some functions 2023-01-30 11:24:53 +01:00
Unknown W. Brackets
a0ef9ce103 riscv: Add half-float encodings.
These are simple.
2023-01-29 16:31:01 -08:00
Unknown W. Brackets
08b5286bd5 arm64: Add some flags from cpu_features. 2023-01-29 16:31:01 -08:00
Unknown W. Brackets
dcd83c1e47 riscv: Detect Zicsr with cpu_features. 2023-01-29 15:24:41 -08:00
Unknown W. Brackets
09eb509df4 Common: Expose CPU extension list directly.
A bit silly to rely on the specific string formatting of a summary.
2023-01-29 15:13:44 -08:00
Unknown W. Brackets
368aba3c8d Common: Detect x86 features with cpu_features. 2023-01-29 15:13:44 -08:00
Unknown W. Brackets
489411359e Common: Add cpu_features library. 2023-01-29 14:35:58 -08:00
Henrik Rydgård
4287365411 Update URLs, fix feedback from #16851 2023-01-29 00:25:27 +01:00
Henrik Rydgård
f7d9f6d0e8
Merge pull request #16857 from lvonasek/feature_openxr_gamecamera
OpenXR - Control game camera using head rotation
2023-01-29 00:21:28 +01:00
Lubos
f0bfb3f373 OpenXR - Head control mapping when game smoothes camera movement (MH3) 2023-01-28 21:45:29 +01:00
Lubos
7d1b50d6f9 OpenXR - Combine game and VR camera rotation 2023-01-28 18:36:29 +01:00
Lubos
5831d98c8a OpenXR - Disable head control when entering the menu 2023-01-28 13:41:04 +01:00
Lubos
b137ecf5c6 OpenXR - Head rotations refactor 2023-01-28 13:28:17 +01:00
Lubos
093903e6a6 OpenXR - Support head rotations in 2D 2023-01-28 13:08:27 +01:00
Lubos
c368a213ac OpenXR - Support head rotations in 2D 2023-01-28 11:50:46 +01:00
Henrik Rydgård
415e3f1d9d
Merge pull request #16851 from SerenaKit/serena/battery-stuff
Ability to show battery % on Darwin platforms, transform FPS/Speed counter into a BitCheckbox
2023-01-28 11:39:48 +01:00
Lubos
1b0b8cb9cd OpenXR - Disable HMD rotations if requested 2023-01-28 10:42:31 +01:00
Serena
c37f3edb7d fix indent 2023-01-28 09:53:11 +03:00
Serena
ca25d536e1 fix typo + remove branch from CI 2023-01-27 14:00:12 +03:00
Serena
f250a54958 Support for showing % on Darwin platforms and some other changes 2023-01-27 11:19:29 +03:00
Henrik Rydgård
91cca1c980 Improve scissor rect clipping. Affected D3D11 validation when maximizing/minimizing. 2023-01-24 16:48:13 +01:00
Unknown W. Brackets
d8d23e2282
Merge pull request #16834 from SerenaKit/serena/memory-stick-dir-customization
Make changes requested by unknown
2023-01-22 14:13:01 -08:00
Serena
13122ddd12 Make changes requested by unknown 2023-01-23 00:23:07 +03:00
Henrik Rydgård
09f8a256e7
Merge pull request #16833 from SerenaKit/serena/memory-stick-dir-customization
Memory stick customization option for Darwin platforms + improvements to the build system for iOS
2023-01-22 22:01:52 +01:00
Unknown W. Brackets
3bc2450b5e
riscv: Add bitmanip instructions to emitter (#16832)
* riscv: Cleanup emitter, add bitmanip detect.

Better to encode using Funct7::ZERO, and obviously for SRA.

* riscv: Add bitmanip instructions to emitter.
2023-01-22 21:37:47 +01:00
Serena
2f3959cc52 Memory stick customization for Darwin 2023-01-22 20:32:58 +03:00
Unknown W. Brackets
2aeee83971 riscv: Add vector transfer instructions. 2023-01-22 00:17:40 -08:00
Unknown W. Brackets
c99eb18f33 riscv: Add vector mask instructions. 2023-01-21 23:43:28 -08:00
Unknown W. Brackets
88de043329 riscv: Add vector reduce instructions. 2023-01-21 22:35:38 -08:00
Unknown W. Brackets
2a7bdbf802 riscv: Add vector float move/compare/unary. 2023-01-21 22:05:13 -08:00
Unknown W. Brackets
f0796676fd riscv: Add vector float arith/mul funcs.
Including all the fused multiplies.
2023-01-21 20:48:49 -08:00
Unknown W. Brackets
a1ca291362 riscv: Add vector fixed-point arith instructions. 2023-01-21 20:23:10 -08:00
Unknown W. Brackets
a313e440b4 riscv: Add vector integer move/broadcast. 2023-01-21 19:46:50 -08:00
Unknown W. Brackets
6f78f2a2d2 riscv: Add vector integer muliplies. 2023-01-21 19:46:34 -08:00