Liam
5ec76db392
nvnflinger/gpu: implement layer stack composition
2 years ago
Liam
49f10b2e54
am: migrate global state to per-applet state structure
2 years ago
Narr the Reg
aad9258100
service: properly convert buffers to strings
2 years ago
Liam
c6dc206cd6
vi: check layer state before opening or closing
2 years ago
Liam
1d7fb4cffb
vi: connect vsync event handle lifetime to application display service interface
2 years ago
Liam
beab2c3fc7
vi: fix name of nvnflinger
2 years ago
Liam
ccef7d7326
vi: fix confusion between closing and destroying layers
2 years ago
Narr the Reg
9567f9aaed
service: nvnflinger: Implement shared buffer
Co-authored-by: Liam <byteslice@airmail.cc>
2 years ago
lat9nq
81d209ee34
general: Use console mode helper across project
2 years ago
lat9nq
447ec24378
general: Convert use_docked_mode to an enumeration
Allows some special interactions with it in the Qt frontend.
2 years ago
Liam
580f7f2ff1
general: fix incorrect conversions
2 years ago
Liam
5f2c56cd15
core: remove ResultVal type
2 years ago
Liam
c59b0c9715
nvnflinger: fix Parcel serialization
3 years ago
Liam
c191cf75bb
nvnflinger: fix name
3 years ago
Liam
d7e9461b71
service: move hle_ipc from kernel
3 years ago
Narr the Reg
932cf55052
core: Update service function tables to 16.0.0+
3 years ago
Liam
1c3a93e7c4
service: refactor server architecture
Converts services to have their own processes
3 years ago
arades79
60a68839ee
remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistency
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
arades79
adcef452e0
add static lifetime to constexpr values to force compile time evaluation where possible
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
ameerj
7cc5da4a9f
Revert "Merge pull request #9718 from yuzu-emu/revert-9508-hle-ipc-buffer-span"
This reverts commit 153fa289d2 , reversing
changes made to 20676b3b5a .
3 years ago
liamwhite
f74a95b6fb
Revert "hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer"
3 years ago
ameerj
4531881bfd
nvflinger: Split Parcel class into InputParcel and OutputParcel
The usages of the Parcel class were already unique to either Read or Write operations.
Avoids needing a vector of the input payload for the InputParcel use-case, instead it can remain as a span.
3 years ago
Liam
4351ab1ff1
vi: implement CloseDisplay
3 years ago
Liam White
6df0663a57
General: Fix compilation for GCC
4 years ago
Morph
55fef19014
service: vi: Retrieve vsync event once per display
The display vsync event can only be retrieved once per display. Returns VI::ResultPermissionDenied if we attempt to retrieve the vsync event for the same display.
Prevents games such as .hack//G.U. Last Recode from consuming all the handles in the handle table by spamming vsync event retrievals and allows it to go in game.
3 years ago
Morph
23c1bf736f
service: vi: Move VI results into its own file
3 years ago
german77
c7890ebccc
core: Replace all instances of ResultCode with Result
4 years ago
Morph
2b87305d31
general: Convert source file copyright comments over to SPDX
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
4 years ago
bunnei
b3f4b41cc1
hle: service: vi: Create a service thread where appropriate.
4 years ago
bunnei
fa9f75819a
hle: vi: NativeWindow: Fix trivially copyable issues.
4 years ago
bunnei
f1a91e0397
hle: vi: Integrate new NVFlinger and HosBinderDriverServer service.
4 years ago
Fernando Sahmkow
fcae5dab7b
Settings: eliminate rescaling_factor.
4 years ago
ameerj
d27abf5546
core: Remove unused includes
4 years ago
Morph
fddd57db61
general: Remove MakeResult helpers
This is made obsolete by the presence of implicit constructors.
4 years ago
Feng Chen
e0d5680fc2
service/vi: Stub IHOSBinderDriver::TransactParcel GetBufferHistory ( #7184 )
4 years ago
german77
108969dc60
service/vi: Update to 13.0.0
4 years ago
MonsterDruide1
1b67085cda
input_common/tas: Fallback to simple update
5 years ago
MonsterDruide1
cce0d58312
core: Hacky TAS syncing & load pausing
To keep the TAS inputs synced to the game speed even through lag spikes and loading zones, deeper access is required.
First, the `TAS::UpdateThread` has to be executed exactly once per frame. This is done by connecting it to the service method the game calls to pass parameters to the GPU: `Service::VI::QueueBuffer`.
Second, the loading time of new subareas and/or kingdoms (SMO) can vary. To counteract that, the `CPU_BOOST_MODE` can be detected: In the `APM`-interface, the call to enabling/disabling the boost mode can be caught and forwarded to the TASing system, which can pause the script execution if neccessary and enabled in the settings.
5 years ago
Valeri
6a1ad26160
Fix crash in logging in CreateStrayLayer
It was trying to log value of layer_id which is specifically known not to exist, potentially leading to segfault. Log display_id instead.
4 years ago
Morph
7ebc38a6d1
general: Replace RESULT_SUCCESS with ResultSuccess
Transition to PascalCase for result names.
5 years ago
Lioncash
eeae5217ba
core: Make variable shadowing a compile-time error
Now that we have most of core free of shadowing, we can enable the
warning as an error to catch anything that may be remaining and also
eliminate this class of logic bug entirely.
5 years ago
bunnei
617803fb5d
hle: kernel: Migrate KReadableEvent and KWritableEvent to KAutoObject.
5 years ago
bunnei
8b224f05c9
hle: kernel: Refactor IPC interfaces to not use std::shared_ptr.
5 years ago
Morph
91aadc6484
general: Write buffers before pushing raw arguments
For consistency with the rest of the service implementations
5 years ago
bunnei
7a76bc30fa
common: Move settings to common from core.
- Removes a dependency on core and input_common from common.
5 years ago
Morph
cbc35097e3
vi: Update to 12.x
5 years ago
Morph
8f439416b6
IApplicationDisplayService: Stub GetIndirectLayerImageMap
Used by games invoking the inline software keyboard such as GNOSIA
5 years ago
bunnei
80d0eb3bbd
hle: kernel: Rename WritableEvent to KWritableEvent.
5 years ago
bunnei
284a4d9283
hle: kernel: Rename ReadableEvent to KReadableEvent.
5 years ago
bunnei
3d70b4a4ea
core: hle: kernel: Rename Thread to KThread.
5 years ago