Commit Graph

19428 Commits (bdd617da03526f94e72185fd96da93c5a2ae50cf)
 

Author SHA1 Message Date
bunnei bdd617da03
Merge pull request #6868 from yzct12345/safe-threads-no-deadlocks
threadsafe_queue: Fix deadlock
4 years ago
yzct12345 0ba521e634
threadsafe_queue: Fix deadlock
This fixes a lost wakeup in SPSCQueue. If the reader is in just the right position, the writer's notification will be lost and this will be a problem if the writer then does something to wait on the reader.

This was discovered to affect my upcoming stacktrace PR. I don't think any performance decrease will be noticeable because an uncontended mutex is smart enough to skip the syscall. This PR might also resolve some rare deadlocks but I don't know of any examples.
4 years ago
bunnei 71d8d84b59
Merge pull request #6862 from german77/badsdl
input_common: Disable sdl raw input mode
4 years ago
bunnei 0509fe3377
Merge pull request #6838 from ameerj/sws-align
vic: Specify sws_scale height stride.
4 years ago
german77 2a2f0bfe9e input_common: Disable sdl raw input mode 4 years ago
Mai M 043904bae1
Merge pull request #6855 from german77/sdl16
externals: Update sdl2 to 2.0.16
4 years ago
Mai M 756d76d971
Merge pull request #6860 from lat9nq/ranged-settings-2
settings: Fix MSVC issues
4 years ago
lat9nq 5be2d6fd28 settings: Fix MSVC issues
According to https://stackoverflow.com/questions/469508, we run into a
MSVC bug (since VS 2005) when using diamond inheritance for
RangedSetting.

This explicitly implements those functions in RangedSetting. GetValue is
implemented as just calling the inherited version. The explicit
converson operator is reimplemented. I opted for this over ignoring the
warning with a pragma since this specifies the inherited behavior, and I
have now less faith in MSVC to pick the right one.

In addition, we mark destructors as virtual to silence what I believe is
a fair MSVC compilation error.
4 years ago
bunnei e6b80c2cf8
Merge pull request #6776 from lat9nq/ranged-settings
settings: Implement settings ranges
4 years ago
german77 fe2e710003 externals: Update sdl2 to 2.0.16 4 years ago
Fernando S 6a082df427
Merge pull request #6820 from yzct12345/split-cache
texture_cache: Split out template definitions
4 years ago
Ameer J 9fbe188c01
Merge pull request #6837 from german77/no-pause-screenshot
main: Avoid stopping emulation when taking a screenshot
4 years ago
ameerj a779cede7c vic: Specify sws_scale height stride.
Silences a sws_scale runtime warning about unaligned strides.
4 years ago
bunnei 7df790f1ae
Merge pull request #6823 from yzct12345/memory-cleanup
memory: Clean up code
4 years ago
bunnei 3e3bd425c1
Merge pull request #6839 from ameerj/frame-cap-positon
configure_general: Swap positions of speed limit and frame limit options
4 years ago
Mai M 2da91ec75b
Merge pull request #6844 from ameerj/vp9-empty-frame
vp9: Ensure the first frame is complete
4 years ago
bunnei b9eee1c539
Merge pull request #6843 from FernandoS27/lives-in-a-pineapple-under-the-sea-2
yuzu-cmd/CMakeLists: Correct attribution for this function.
4 years ago
Fernando Sahmkow 23ca1eb82e yuzu-cmd/CMakeLists: Correct attribution for this function. 4 years ago
ameerj fa22695705 vp9: Ensure the first frame is complete
Silences a runtime error due to the first frame missing the frame data, and being set to hidden despite being a key-frame.
4 years ago
yzct12345 c4eafcc861
texture_cache: Address ameerj's review 4 years ago
Fernando S 859deda3bb
Merge pull request #6834 from K0bin/buffer-image-granularity
Respect Vulkan bufferImageGranularity
4 years ago
bunnei b023413c98
Merge pull request #6698 from german77/SDL_QoL
input_common: Improve SDL joystick and hide toggle option
4 years ago
bunnei 00358e2098
Merge pull request #6817 from gidoly/patch-1
Add description to fast gpu time option
4 years ago
ameerj 8e0cc3e59a configure_general: Swap positions of speed limit and frame limit options 4 years ago
german77 48b6d41f1b input_common: Improve SDL joystick and hide toggle option 4 years ago
bunnei 63325cafbe
Merge pull request #6827 from Morph1984/uuid-hash
common: uuid: Add hash function for UUID
4 years ago
german77 acce512ae8 main: Avoid stopping emulation when taking a screenshot 4 years ago
bunnei bd0e1d3a25
Merge pull request #6830 from ameerj/nvdec-unimpld-codec
nvdec: Better logging for unimplemented codecs
4 years ago
Robin Kertels bb29dcb7f2
vulkan_memory_allocator: Respect bufferImageGranularity 4 years ago
bunnei 456adb95ff
Merge pull request #6795 from sankasan/cmd-remove-cursor-fullscreen
yuzu-cmd: hide mouse cursor when started fullscreen
4 years ago
bunnei bd1a764827
Merge pull request #6815 from german77/ui_improvements
settings_ui: Add emulated joystick position dot to controller preview
4 years ago
ameerj 928b64d2ce nvdec: Better logging for unimplemented codecs 4 years ago
bunnei 268b5764c7
Merge pull request #6791 from ameerj/astc-opt
astc_decoder: Various performance and memory optimizations
4 years ago
yzct12345 5f97f74a9a
memory: Address lioncash's review 4 years ago
yzct12345 70cc4c0f46
memory: Dedup Read and Write and fix logging bugs 4 years ago
yzct12345 e80323b8b0
texture_cache: Address ameerj's review 4 years ago
bunnei f183668a87
Merge pull request #6799 from ameerj/vp9-fixes
nvdec: Fix VP9 reference frame refreshes
4 years ago
ameerj 156ea746a3 nvhost_nvdec_common: Remove BufferMap
This was mainly used to keep track of mapped buffers for later unmapping.  Since unmap is no longer implemented, this no longer seves a valuable purpose.
4 years ago
ameerj e3688f0627 vp9: Cleanup unused variables
With reference frames refreshes fix, we no longer need to buffer two frames in advance.
We can also remove other unused or otherwise unneeded variables.
4 years ago
ameerj a3f80a97a3 vp9: Fix reference frame refreshes
This resolves the artifacting when decoding VP9 streams.
4 years ago
ameerj cc8ac112fc nvhost_nvdec_common: Stub UnmapBuffer Ioctl
Skip unmapping nvdec buffers to avoid breaking the continuity of the VP9 reference frame addresses, and the risk of invalidating data before the async GPU thread is done with it.
4 years ago
bunnei 42d8e08f78
Merge pull request #6822 from yzct12345/clion-assert
assert: Avoid empty macros
4 years ago
Morph d20c5ac720 common: uuid: Add hash function for UUID
Used when UUID is a key in an unordered_map. The hash is produced by XORing the high and low 64-bits of the UUID together.
4 years ago
yzct12345 e611f522c2
memory: Clean up CopyBlock too 4 years ago
gidoly 8ba551e1cd Update configure_graphics_advanced.ui
add description too fast gpu time
4 years ago
yzct12345 02e98f6c93
texture_cache: Don't change copyright year 4 years ago
yzct12345 5566f3dbc0
texture_cache: Address ameerj's review 4 years ago
yzct12345 4edfa6ad8f
memory: Address lioncash's review 4 years ago
bunnei e1a92db519
Merge pull request #6813 from Morph1984/hex-string-to-uuid
common: uuid: Add hex string to UUID constructor
4 years ago
yzct12345 6df9611059
memory: Clean up code 4 years ago