Commit Graph

3240 Commits

Author SHA1 Message Date
Henrik Rydgård
742e123b2b Address feedback 2023-02-07 12:12:00 +01:00
Henrik Rydgård
b4aa120298 OpenGL readback: Move any format convert to when the data is read.
Eliminates a copy, and will fit better with delayed readbacks.
2023-02-07 12:12:00 +01:00
Henrik Rydgård
d502198aa3 Move GLFrameData out of GLRenderManager.
Small refactor to prepare for adding delayed readback support to the
OpenGL backend.
2023-02-07 12:12:00 +01:00
Henrik Rydgård
86a5a82050
Merge pull request #16924 from warmenhoven/dev/warmenhoven/libretro-ios
Build for iOS as a libretro core
2023-02-07 12:11:06 +01:00
ZiHan Huang
2865310bca vulkan: Add the function realization of arm device to kms vulkan
Signed-off-by: ZiHan Huang <zack.huang@rock-chips.com>
2023-02-07 14:23:55 +08:00
Eric Warmenhoven
ec54095b68 Build for iOS as a libretro core 2023-02-07 01:00:47 -05:00
Henrik Rydgård
30fbcf356a
Merge pull request #16914 from hrydgard/readback-more-prep
Some more plumbing of parameters, preparing for readback stuff
2023-02-05 23:25:57 +01:00
Henrik Rydgård
ec5afb2d8d
Merge pull request #16812 from unknownbrackets/task-priority
ThreadManager: Add simple priority queues
2023-02-05 21:00:47 +01:00
Henrik Rydgård
937975000b Add a ReadbackMode parameter to more functions in the FramebufferManager 2023-02-05 13:57:45 +01:00
Henrik Rydgård
31df6bf0fe Move some code around, get rid of some unnecessary fences 2023-02-05 00:35:30 +01:00
Henrik Rydgård
7b5def9ff6 Use VMA to manage readback memory 2023-02-04 23:52:38 +01:00
Henrik Rydgård
4427cb4fc3 Add parameter to thin3d::CopyFramebufferToMemory to specify blocking mode. Not yet implemented. 2023-02-04 23:40:36 +01:00
Henrik Rydgård
df1700002b Attempt at libretro buildfix 2023-02-03 18:58:26 +01:00
Lubos
4fa7bbfc40 OpenXR - Ignore should render parameter 2023-02-03 10:00:15 +01:00
Lubos
f8b16a38a2 Merge branch 'master' into hotfix_pico53_bug 2023-02-03 09:53:11 +01:00
Unknown W. Brackets
c690b12669 ThreadManager: Use priority across global/thread. 2023-02-02 17:08:24 -08:00
Unknown W. Brackets
0971555e51 ThreadManager: Add simple priority queues.
This allows basic differentiation of priorities.
2023-02-02 17:08:24 -08:00
Unknown W. Brackets
88ba003f46 ThreadManager: Add a simple priority field.
Currently, not actually respected.
2023-02-02 17:08:24 -08:00
Henrik Rydgård
59dec197d8 Add previews for more types, fix mappings. 2023-02-02 01:09:33 +01:00
Henrik Rydgård
9e3cc66809 Tilt: Add visualizer to customize tilt dialog. Improve defaults. 2023-02-01 15:35:57 +01:00
Henrik Rydgård
102607a6e8 Code style fixes, translation key fix, cleanup 2023-02-01 14:24:55 +01:00
Henrik Rydgård
6c8653762d
Merge pull request #16501 from ThirteenAG/master
Input (inc. mouse and keyboard) api for plugins
2023-02-01 12:25:25 +01:00
Henrik Rydgård
a67604d003 Tighten up shader compilation logging 2023-02-01 11:42:25 +01:00
Sergey P
bf2cabb82c merge from upstream 2023-02-01 13:33:07 +03:00
Sergey P
64f1e5ed61 range checks 2023-02-01 13:26:17 +03:00
Henrik Rydgård
1437c2f707 Comment update 2023-02-01 11:15:33 +01:00
Henrik Rydgård
6a290d7999 Measure pipeline compilation time since scheduling, to judge parallelism 2023-02-01 11:15:33 +01:00
Henrik Rydgård
8821d619e4 Create pipelines in parallel 2023-02-01 11:15:33 +01:00
Henrik Rydgård
5ca0bfe716 Fix compile error and warning
Fixes #16886
2023-02-01 11:13:51 +01:00
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