ReinUsesLisp
e482ac4786
tests: Add unit tests for the GPU range tracking buffer container
Due to how error prone the container design is, this commit adds unit
tests for it.
Some tests taken from here are based on bugs from using this buffer
container in games, so if we ever break it in the future in a way that
might harm games, the tests should fail.
5 years ago
ReinUsesLisp
77efe79868
buffer_cache/buffer_base: Add a range tracking buffer container
It keeps track of the modified CPU and GPU ranges on a CPU page
granularity, notifying the given rasterizer about state changes
in the tracking behavior of the buffer.
Use a small vector optimization to store buffers smaller than 256 KiB
locally instead of using free store memory allocations.
5 years ago
bunnei
498a2cab8e
Merge pull request #5333 from lioncash/define
common/parent_of_member: Replace TYPED_STORAGE define with template alias
5 years ago
Lioncash
6d1212fdb9
common/parent_of_member: Replace TYPED_STORAGE define with template alias
Provides the same construct, but makes it obey namespacing.
5 years ago
bunnei
ca4e493113
Merge pull request #5266 from bunnei/kernel-synch
Rewrite KSynchronizationObject, KConditonVariable, and KAddressArbiter
5 years ago
bunnei
e89be18c79
hle: kernel: thread: Preserve thread wait reason for debugging only.
- This is decoupled from core functionality and used for debugging only.
5 years ago
bunnei
e19dca9193
yuzu: debugger: wait_tree: Handle unknown ThreadState.
5 years ago
bunnei
42b25c1a2c
hle: kernel: k_scheduler_lock: Fix shadowing errors.
5 years ago
bunnei
6cbeabce0d
core: arm: arm_interface: Fix shadowing errors.
5 years ago
bunnei
7f4d928f77
core: hle: Add missing calls to MicroProfileOnThreadExit.
5 years ago
bunnei
e5cfd63ba4
core: hle: Integrate new KConditionVariable and KAddressArbiter implementations.
5 years ago
bunnei
8f3987d3df
core: hle: kernel: Update KAddressArbiter.
5 years ago
bunnei
75610701a3
core: hle: kernel: Update KConditionVariable.
5 years ago
bunnei
c37b0da7d0
core: hle: kernel: Begin moving common SVC defintions to its own header.
5 years ago
bunnei
02071333ca
hle: kernel: Remove unnecessary AddressArbiter definition.
5 years ago
bunnei
bf73b6ed86
common: common_funcs: Add R_UNLESS macro.
5 years ago
bunnei
99a3953705
hle: kernel: k_scheduler: Cleanup OnThreadPriorityChanged.
5 years ago
bunnei
818ff3901a
hle: kernel: Rename thread "status" to "state".
5 years ago
bunnei
9744afa8b1
hle: kernel: thread: Replace ThreadStatus/ThreadSchedStatus with a single ThreadState.
- This is how the real kernel works, and is more accurate and simpler.
5 years ago
bunnei
d103a3656b
core: hle: kernel: Add some useful functions for checking kernel addresses.
5 years ago
bunnei
f3f7d42d63
core: hle: kernel: svc_types: Add type definitions for KAddressArbiter.
5 years ago
bunnei
eeb0493b5d
common: Introduce useful tree structures.
5 years ago
bunnei
2feb4d56e9
core: hle: kernel: Update KSynchronizationObject.
5 years ago
bunnei
eafd021b14
core: hle: kernel: Begin moving common SVC results to its own header.
5 years ago
bunnei
a45d39c9d6
hle: service: nfp: Remove incorrect signaling behavior in GetDeviceState.
5 years ago
bunnei
5607df3eb9
Merge pull request #5229 from Morph1984/fullscreen-opt
yuzu/main: Add basic command line arguments
5 years ago
LC
e0f774156e
Merge pull request #5324 from Morph1984/docked-default
config: Enable docked mode by default
5 years ago
bunnei
af8f4d3635
Merge pull request #5312 from german77/overclockenabled
apm: Stub IsCpuOverclockEnabled
5 years ago
Morph
7031765c6f
config: Enable docked mode by default
5 years ago
bunnei
c0a8552b9d
Merge pull request #5323 from Morph1984/enforce-c4101
cmake: Enforce C4101
5 years ago
Morph
02f068cd8f
cmake: Enforce C4101
This matches GCC's -Wunused-variable
5 years ago
Morph
dd29408b26
yuzu_cmd: Silence unreferenced local variable warning
5 years ago
LC
355df17549
Merge pull request #5320 from ReinUsesLisp/div-ceil-type
common/div_ceil: Return numerator type
5 years ago
LC
db78cc48f5
Merge pull request #5322 from Morph1984/resolve-c4062-msvc
general: Resolve C4062 warnings on MSVC
5 years ago
Morph
f658307735
general: Resolve C4062 warnings on MSVC
5 years ago
ReinUsesLisp
7e3b53c5be
common/div_ceil: Return numerator type
Fixes instances where DivCeil(u32, u64) would surprisingly return u64,
instead of the more natural u32.
5 years ago
Rodrigo Locatti
b5d1846e32
Merge pull request #5319 from ReinUsesLisp/msvc-warnings
cmake: Enforce C4062, C4265, C4388, and C5038
5 years ago
ReinUsesLisp
4154a16ce4
cmake: Enforce C4062, C4265, C4388, and C5038
This should match some warnings we treat as errors on gcc and clang,
caching bugs early and reducing the number of instances where we have to
edit commits to make CI happy when developing from Windows.
5 years ago
ReinUsesLisp
d27f026a50
file_sys/registered_cache: Silence virtual functions without override warnings
5 years ago
ReinUsesLisp
53cf598783
core: Silence unhandled enum in switch warnings
5 years ago
ReinUsesLisp
148a3c173a
tests/ring_buffer: Silence signed/unsigned mismatch warnings
5 years ago
bunnei
fa0fc64dee
Merge pull request #5231 from ReinUsesLisp/dyn-bindings
renderer_vulkan/fixed_pipeline_state: Move enabled bindings to static state
5 years ago
german
b28282edab
Stub IsCpuOverclockEnabled
5 years ago
bunnei
78b8a970f6
Merge pull request #5300 from JeremyStarTM/patch-1
Removed MacOS build link
5 years ago
bunnei
0f4e78bd32
Merge pull request #5310 from lat9nq/fix-disable-web-service
CMakeLists: Disable YUZU_ENABLE_BOXCAT if ENABLE_WEB_SERVICE is disabled
5 years ago
lat9nq
02f95a0865
CMakeLists: Disable YUZU_ENABLE_BOXCAT if ENABLE_WEB_SERVICE is disabled
Boxcat is a web service but is still enabled if ENABLE_WEB_SERVICE is
disabled during the CMake stage, which causes compilation issues with
either missing headers or missing libraries.
This disables YUZU_ENABLE_BOXCAT regardless of the input if
ENABLE_WEB_SERVICE is disabled.
5 years ago
bunnei
2feb58dbd1
Merge pull request #5237 from ameerj/nvdec-syncpt
nvdec: Incorporate syncpoint manager
5 years ago
Ameer J
21ff77c366
remove inaccurate reference
Co-authored-by: LC <mathew1800@gmail.com>
5 years ago
ameerj
30f3faf3e2
fix for nvdec disabled, cleanup host1x
5 years ago
ameerj
762de858e6
nvdec syncpt incorporation
laying the groundwork for async gpu, although this does not fully implement async nvdec operations
5 years ago