aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/nvflinger
AgeCommit message (Collapse)Author
2021-11-03core: Remove unused includesameerj
2021-10-03nvflinger: Use jthread and stop_token for VSync threadameerj
Avoids a destruction data race that may occur on the vsync thread
2021-09-11Merge pull request #6981 from ameerj/nvflinger-hb-formatFernando S
nvflinger: Use external surface format for framebuffer creation
2021-09-06nvflinger: Use external surface format for framebuffer creationameerj
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.
2021-09-04core: hle: service: buffer_queue: Improve management of KEvent.bunnei
2021-09-03core: hle: service: nvflinger/vi: Improve management of KEvent.bunnei
2021-08-25Revert "kernel: Various improvements to scheduler"bunnei
2021-08-07core: hle: service: buffer_queue: Improve management of KEvent.bunnei
2021-08-07core: hle: service: nvflinger/vi: Improve management of KEvent.bunnei
2021-07-23config, nvflinger: Add FPS cap settingameerj
Allows finer tuning of the FPS limit.
2021-06-17nvflinger: Add toggle to disable buffer swap interval limitsameerj
Enabling this setting will allow some titles to present more frames to the screen as they become available in the nvflinger buffer queue.
2021-05-16Merge pull request #6284 from ameerj/shantae-fixbunnei
nvflinger: Create layers when they are queried but not found
2021-05-16core: Make variable shadowing a compile-time errorLioncash
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.
2021-05-06nvflinger: Create layers when they are queried but not foundameerj
Fixes Shantae softlock on boot.
2021-05-05hle: kernel: Remove deprecated Object class.bunnei
2021-05-05hle: kernel: Migrate KReadableEvent and KWritableEvent to KAutoObject.bunnei
2021-05-05hle: kernel: Ensure all kernel objects with KAutoObject are properly created.bunnei
2021-05-05hle: kernel: Migrate KEvent to KAutoObject.bunnei
2021-05-05hle: kernel: Refactor IPC interfaces to not use std::shared_ptr.bunnei
2021-04-26service: Eliminate cases of member shadowingLioncash
Resolves a few localized instances of member variable shadowing. Brings us a little closer to turning shadowing warnings into errors.
2021-04-14common: Move settings to common from core.bunnei
- Removes a dependency on core and input_common from common.
2021-02-05hle: kernel: Reimplement KReadableEvent and KWritableEvent.bunnei
2021-02-05hle: kernel: Rename WritableEvent to KWritableEvent.bunnei
2021-02-05hle: kernel: Rename ReadableEvent to KReadableEvent.bunnei
2021-01-11core: hle: Add missing calls to MicroProfileOnThreadExit.bunnei
2021-01-08core: Silence unhandled enum in switch warningsReinUsesLisp
2021-01-04buffer_queue: Protect queue_sequence list access with a mutexameerj
fixes a data race as this is an unprotected variable manipulated by multiple threads
2021-01-02hle: service: nvflinger: buffer_queue: Do not reset id/layer_id on Connect.bunnei
- This behavior is a mistake, fixes Katana Zero.
2020-12-28service: nvflinger: Improve synchronization for BufferQueue.bunnei
- Use proper mechanisms for blocking on DequeueBuffer. - Ensure service thread terminates on emulation Shutdown.
2020-12-28hle: service: nvflinger: Refactor locking and interfaces.bunnei
2020-12-18buffer_queue: better use of std::arrayameerj
2020-12-17Overwrite slots instead of queuing them, add disconnect signalameerj
Fix for Katana Zero and Yoshi's Crafted World
2020-12-07core: Remove unnecessary enum casts in log callsLioncash
Follows the video core PR. fmt doesn't require casts for enum classes anymore, so we can remove quite a few casts.
2020-11-04Merge pull request #4858 from lioncash/initializerbunnei
General: Resolve a few missing initializer warnings
2020-11-01service: hle: nvflinger: Fix potential shutdown crash when GPU is destroyed.bunnei
2020-10-29General: Resolve a few missing initializer warningsLioncash
Resolves a few -Wmissing-initializer warnings.
2020-10-20Revert "core: Fix clang build"bunnei
2020-10-20Merge pull request #4796 from lioncash/clangLC
core: Fix clang build
2020-10-17core: Fix clang buildLioncash
Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795
2020-10-13hle: service: vi: Implement BufferQueue::CancelBuffer.bunnei
- This is used by Super Mario 3D All-Stars.
2020-09-22General: Make use of std::nullopt where applicableLioncash
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.
2020-08-13General: Tidy up clang-format warnings part 2Lioncash
2020-08-03buffer_queue: Make use of std::nulloptLioncash
Allows compilers to eliminate unnecessary zeroing out of the optional's buffer.
2020-08-03buffer_queue: Make use of designated initializersLioncash
2020-07-27core_timing: Make use of uintptr_t to represent user_dataLioncash
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.
2020-07-25nvflinger: Mark interface functions with return values as [[nodiscard]]Lioncash
Not using the return value of these functions are undeniably the source of a bug. This way we allow compilers to loudly make any future misuses evident.
2020-07-25nvflinger: Use return value of Lock()Lioncash
comex reported in #4424 that we were incorrectly discarding the return value of Lock() which is correct.
2020-07-15core_timing: Make TimedCallback take std::chrono::nanosecondsLioncash
Enforces our desired time units directly with a concrete type.
2020-07-15core_timing: Make use of std::chrono with ScheduleEventLioncash
2020-06-27NvFlinger: Clang Format.Fernando Sahmkow