bunnei
f644380506
common: dynamic_library: Add ctor for existing handle.
3 years ago
bunnei
44b082af08
android: Implement SAF support & migrate to SDK 31. ( #4 )
3 years ago
bunnei
c5b29ef3b7
common: error: Fix for Android.
3 years ago
bunnei
48835ce81b
common: fs: Implement for Android.
3 years ago
bunnei
fa9b38c400
common: logging: Implement Android logcat backend.
3 years ago
bunnei
699d6751d8
common: host_memory: Implement for Android.
3 years ago
Morph
ef9b1765fa
externals: Update to fmt 10 and add format_as formatter for BitField
Implicit conversions are now disallowed in fmt 10. Use format_as to convert to the underlying type.
3 years ago
Liam
011dfe1db7
textures: add BC1 and BC3 compressors and recompression setting
3 years ago
Kelebek1
fc6c77f7ae
Allow Fermi blit accelerate to add src/dst to the cache if they don't exist already. Use ScratchBuffers in the software blit path.
3 years ago
german77
e43d1c20d5
service: nfp: Allow to load with a different amiibo id
3 years ago
Fernando Sahmkow
62295b5069
Settings: add option to enable / disable reactive flushing
3 years ago
Kelebek1
ac49a29b85
Fix address space allocator slow path to avoid OOB
3 years ago
lat9nq
90f4126609
settings: Add enable compute pipelines
For the Intel proprietary driver's deficiencies.
settings: Restore compute option global state
3 years ago
Roni Kirla
5d02eca7c9
Fix read access violation
3 years ago
Narr the Reg
53ec77c62c
input_common: Add property to invert an axis button
3 years ago
Narr the Reg
b3b5a11262
input_common: Add property to invert an axis button
3 years ago
Narr the Reg
94c16132ba
yuzu: Add motion preview to controller input
3 years ago
Liam
f50b8635b3
settings: remove pessimistic flushing
3 years ago
lat9nq
2cca81495e
settings: Enable FIFO relaxed
Not entirely sure if we need this, but there's also no reason not to
support it.
settings: Give VSyncMode values
3 years ago
lat9nq
581d8f34ee
configuration: Expose separate swap present modes
Previously, yuzu would try and guess which vsync mode to use given
different scenarios, but apparently we didn't always get it right. This
exposes the separate modes in a drop-down the user can select.
If a mode isn't available in Vulkan, it defaults to FIFO.
3 years ago
GPUCode
d56a40606c
vk_present_manager: Add toggle for async presentation
3 years ago
Liam
bdaf10ec9e
settings: rename extended memory layout to unsafe, move from general to system
3 years ago
Liam
1458a4cdc3
common: add intrusive list type
3 years ago
Liam
bbc9f0d3e9
general: fixes for gcc 13
3 years ago
Max Dunbar
8b5becf71b
Fixes 'Continous' typo
3 years ago
Morph
164d930c8d
telemetry: Add waitpkg instruction
3 years ago
Morph
fa3904acd9
x64: Simplify RDTSC on non-MSVC compilers
Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>
3 years ago
Morph
d260571440
x64: Add MicroSleep
MicroSleep allows the processor to pause for a "short" amount of time (in the microsecond range). This is useful for spin-waiting that does not require nanosecond precision.
This uses the new TPAUSE instruction introduced on Intel's newest processors as part of the waitpkg instructions. For CPUs that do not support waitpkg instructions, this is equivalent to yield().
Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>
3 years ago
Morph
95adf299e4
x64: cpu_detect: Add detection of waitpkg instructions
waitpkg introduces 3 instructions, UMONITOR, UMWAIT and TPAUSE.
3 years ago
Liam
52c885cd03
container_hash: use climits
3 years ago
Morph
b203f9d714
common: Port boost's hash_value implementation
Ports a small subset of boost's hash_value implementation (<= 1.80.0).
3 years ago
Morph
79aa81015f
zstd: Use ZSTD_getFrameContentSize instead of ZSTD_getDecompressedSize
3 years ago
Liam
156516e399
kernel: use KTypedAddress for addresses
3 years ago
Morph
05ba40b98e
bounded_threadsafe_queue: Refactor Pop
Introduces PopModes to bring waiting logic into Pop, similar to Push.
3 years ago
Morph
70b1c2e8e0
bounded_threadsafe_queue: Add producer cv to avoid busy waiting
3 years ago
Morph
62fd55e5fe
bounded_threadsafe_queue: Deduplicate and add PushModes
Adds the PushModes Try and Wait to allow producers to specify how they want to push their data to the queue if the queue is full.
If the queue is full:
- Try will fail to push to the queue, returning false. Try only returns true if it successfully pushes to the queue. This may result in items not being pushed into the queue.
- Wait will wait until a slot is available to push to the queue, resulting in potential for deadlock if a consumer is not running.
3 years ago
Morph
281e99f09d
bounded_threadsafe_queue: Add TryPush
3 years ago
Morph
623cbd908e
logging: Make use of bounded queue
3 years ago
Morph
c4314b231f
bounded_threadsafe_queue: Use simplified impl of bounded queue
Provides a simplified SPSC, MPSC, and MPMC bounded queue implementation using mutexes.
3 years ago
bunnei
a59583c7ab
common: string_util: Use std::string_view for UTF16ToUTF8/UTF8ToUTF16W.
3 years ago
bunnei
b9533c81f7
common: bounded_threadsafe_queue: Use polyfill_thread.
3 years ago
Liam
5be8a74b0c
general: fix spelling mistakes
3 years ago
Morph
e27dced550
native_clock: Wait for 10 seconds instead of 30
It was experimentally determined to be sufficient.
3 years ago
Morph
d766e783ea
native_clock: Use RealTimeClock instead of SteadyClock
We want to synchronize RDTSC to real time.
3 years ago
Morph
c3855de299
steady_clock: Introduce a real time clock
3 years ago
Morph
afa678be3a
native_clock: Re-adjust the RDTSC frequency
The RDTSC frequency reported by CPUID is not accurate to its true frequency.
We will spawn a separate thread to calculate the true RDTSC frequency after a measurement period of 30 seconds has elapsed.
3 years ago
Narr the Reg
822a967bca
input_common: Minor typo issues ( #9922 )
3 years ago
german77
db3f4f7515
input_common: Increase mouse sensitivity range
3 years ago
Liam
242691d871
common: make BitCast constexpr
3 years ago
Liam
2e637e5519
kernel: avoid signed overflow UB on MSVC
3 years ago