aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/nvflinger/nvflinger.cpp
Commit message (Collapse)AuthorAgeFilesLines
* nvnflinger: fix nameLiam2023-03-011-335/+0
|
* nvnflinger: correct swap interval handlingLiam2023-01-111-4/+4
|
* buffer_item_consumer: Pass fence by const-ref in ReleaseBuffer()Lioncash2022-11-281-2/+1
| | | | | | This isn't directly modified. Also allows rvalues to be used with it.
* vi: implement CloseDisplayLiam2022-10-271-0/+13
|
* core: barrier service thread shutdownLiam2022-10-231-4/+8
|
* Core: Fix get nvmap object random crashVonChenPlus2022-10-061-1/+1
|
* VideoCore: Refactor fencing system.Fernando Sahmkow2022-10-061-12/+3
|
* VideoCore: Refactor syncing.Fernando Sahmkow2022-10-061-2/+7
|
* NVDRV: Fix Open/Close and make sure each device is correctly created.Fernando Sahmkow2022-10-061-1/+6
|
* common: remove "yuzu:" prefix from thread namesLiam2022-10-031-1/+1
|
* service: vi: Retrieve vsync event once per displayMorph2022-09-251-3/+4
| | | | | | 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.
* Rework multi-core vsyncKelebek12022-08-011-16/+26
|
* hle: service: nvflinger: Fix implicit conversion.bunnei2022-07-161-1/+4
|
* yuzu: settings: Remove framerate cap and merge unlocked framerate setting.bunnei2022-07-161-8/+10
| | | | - These were all somewhat redundant.
* hle: service: nvflinger: Factor speed limit into frame time calculation.bunnei2022-07-161-1/+8
| | | | | - This allows the %-based "Limit Speed Percent" setting to work with MC emulation. - This is already supported for SC emulation.
* PRKelebek12022-07-101-3/+3
|
* Rework CoreTimingKelebek12022-07-101-7/+6
|
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-1/+1
| | | | | 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.
* hle: service: nvflinger: Use correct logger namespace.bunnei2022-04-011-2/+2
|
* hle: nvflinger: Use std::chrono for present_ns.bunnei2022-03-241-1/+1
|
* hle: vi: Integrate new NVFlinger and HosBinderDriverServer service.bunnei2022-03-241-42/+39
|
* Remove invalid assertion statementFeng Chen2021-12-281-3/+0
|
* nvflinger: Use jthread and stop_token for VSync threadameerj2021-10-031-23/+6
| | | | Avoids a destruction data race that may occur on the vsync thread
* Merge pull request #6981 from ameerj/nvflinger-hb-formatFernando S2021-09-111-1/+1
|\ | | | | nvflinger: Use external surface format for framebuffer creation
| * nvflinger: Use external surface format for framebuffer creationameerj2021-09-061-1/+1
| | | | | | | | | | | | The format member the IGBPBuffer may not always specify the correct desired format. Using the external format member ensures a valid format is provided when creating the framebuffer. Fixes homebrew using the wrong framebuffer format.
* | core: hle: service: buffer_queue: Improve management of KEvent.bunnei2021-09-041-1/+1
|/
* core: hle: service: nvflinger/vi: Improve management of KEvent.bunnei2021-09-031-6/+7
|
* Revert "kernel: Various improvements to scheduler"bunnei2021-08-251-8/+7
|
* core: hle: service: buffer_queue: Improve management of KEvent.bunnei2021-08-071-1/+1
|
* core: hle: service: nvflinger/vi: Improve management of KEvent.bunnei2021-08-071-6/+7
|
* config, nvflinger: Add FPS cap settingameerj2021-07-231-5/+6
| | | | Allows finer tuning of the FPS limit.
* nvflinger: Add toggle to disable buffer swap interval limitsameerj2021-06-171-0/+3
| | | | | Enabling this setting will allow some titles to present more frames to the screen as they become available in the nvflinger buffer queue.
* Merge pull request #6284 from ameerj/shantae-fixbunnei2021-05-161-4/+26
|\ | | | | nvflinger: Create layers when they are queried but not found
| * nvflinger: Create layers when they are queried but not foundameerj2021-05-061-4/+26
| | | | | | | | Fixes Shantae softlock on boot.
* | core: Make variable shadowing a compile-time errorLioncash2021-05-161-1/+1
| | | | | | | | | | | | 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.
* | hle: kernel: Migrate KReadableEvent and KWritableEvent to KAutoObject.bunnei2021-05-051-3/+3
| |
* | hle: kernel: Migrate KEvent to KAutoObject.bunnei2021-05-051-2/+2
|/
* service: Eliminate cases of member shadowingLioncash2021-04-261-7/+7
| | | | | Resolves a few localized instances of member variable shadowing. Brings us a little closer to turning shadowing warnings into errors.
* common: Move settings to common from core.bunnei2021-04-141-1/+1
| | | | - Removes a dependency on core and input_common from common.
* hle: kernel: Rename ReadableEvent to KReadableEvent.bunnei2021-02-051-2/+2
|
* core: hle: Add missing calls to MicroProfileOnThreadExit.bunnei2021-01-111-0/+4
|
* service: nvflinger: Improve synchronization for BufferQueue.bunnei2020-12-281-4/+9
| | | | | - Use proper mechanisms for blocking on DequeueBuffer. - Ensure service thread terminates on emulation Shutdown.
* hle: service: nvflinger: Refactor locking and interfaces.bunnei2020-12-281-10/+13
|
* service: hle: nvflinger: Fix potential shutdown crash when GPU is destroyed.bunnei2020-11-011-0/+4
|
* Revert "core: Fix clang build"bunnei2020-10-201-1/+1
|
* core: Fix clang buildLioncash2020-10-171-1/+1
| | | | | | | Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795
* General: Make use of std::nullopt where applicableLioncash2020-09-221-3/+3
| | | | | | | | Allows some implementations to avoid completely zeroing out the internal buffer of the optional, and instead only set the validity byte within the structure. This also makes it consistent how we return empty optionals.
* core_timing: Make use of uintptr_t to represent user_dataLioncash2020-07-271-1/+1
| | | | Makes the interface future-proofed for supporting other platforms in the event we ever support platforms with differing pointer sizes. This way, we have a type in place that is always guaranteed to be able to represent a pointer exactly.
* nvflinger: Use return value of Lock()Lioncash2020-07-251-1/+1
| | | | | comex reported in #4424 that we were incorrectly discarding the return value of Lock() which is correct.
* core_timing: Make TimedCallback take std::chrono::nanosecondsLioncash2020-07-151-3/+3
| | | | Enforces our desired time units directly with a concrete type.