summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/vi/display/vi_display.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* vi: fix confusion between closing and destroying layersLiam2023-12-121-10/+5
|
* core: remove ResultVal typeLiam2023-08-081-1/+1
|
* nvnflinger: fix nameLiam2023-03-011-4/+4
|
* vi: implement CloseDisplayLiam2022-10-271-0/+6
|
* Core: Fix get nvmap object random crashVonChenPlus2022-10-061-1/+6
|
* service: vi: Retrieve vsync event once per displayMorph2022-09-261-2/+12
| | | | | | 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.
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | 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: nvflinger: Migrate android namespace -> Service::android.bunnei2022-03-251-1/+1
|
* hle: vi: Integrate new NVFlinger and HosBinderDriverServer service.bunnei2022-03-251-9/+20
|
* general: Move deleted copy/move constructor/assignment operators to public interfaceLioncash2022-02-021-1/+1
| | | | | | | | This allows for better compiler errors, where the compiler will state a copy or move couldn't occur due to the relevant function being deleted. Previously a compiler would warn about the relevant function not being accessible (which, while true, isn't as informative as it could be).
* core: hle: service: nvflinger/vi: Improve management of KEvent.bunnei2021-09-041-3/+10
|
* Revert "kernel: Various improvements to scheduler"bunnei2021-08-261-10/+3
|
* core: hle: service: nvflinger/vi: Improve management of KEvent.bunnei2021-08-071-3/+10
|
* core: Make variable shadowing a compile-time errorLioncash2021-05-161-4/+4
| | | | | | 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.
* common: Rename NON_COPYABLE/NON_MOVABLE with YUZU_ prefix.bunnei2021-05-061-2/+2
|
* hle: kernel: Migrate KReadableEvent and KWritableEvent to KAutoObject.bunnei2021-05-061-1/+1
|
* hle: kernel: Migrate KEvent to KAutoObject.bunnei2021-05-061-7/+5
|
* service: Eliminate cases of member shadowingLioncash2021-04-261-8/+8
| | | | | Resolves a few localized instances of member variable shadowing. Brings us a little closer to turning shadowing warnings into errors.
* hle: kernel: Reimplement KReadableEvent and KWritableEvent.bunnei2021-02-051-2/+5
|
* hle: kernel: Rename WritableEvent to KWritableEvent.bunnei2021-02-051-1/+1
|
* hle: kernel: Rename ReadableEvent to KReadableEvent.bunnei2021-02-051-1/+1
|
* service: vi: Implement CloseLayer.bunnei2020-01-041-1/+8
| | | | - Needed for Undertale.
* kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. (#3154)bunnei2019-11-251-1/+1
| | | | | | * kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. - See https://github.com/citra-emu/citra/pull/4710 for details.
* Deglobalize System: ViDavid Marcec2019-09-221-1/+1
|
* service/nvflinger: Store BufferQueue instances as regular data membersLioncash2019-02-221-1/+1
| | | | | | | The NVFlinger service is already passed into services that need to guarantee its lifetime, so the BufferQueue instances will already live as long as they're needed. Making them std::shared_ptr instances in this case is unnecessary.
* service/vi/vi_layer: Convert Layer struct into a classLioncash2019-02-211-1/+1
| | | | | | | Like the previous changes made to the Display struct, this prepares the Layer struct for changes to its interface. Given Layer will be given more invariants in the future, we convert it into a class to better signify that.
* service/nvflinger: Move display specifics over to vi_displayLioncash2019-02-211-1/+71
| | | | | | | | | With the display and layer structures relocated to the vi service, we can begin giving these a proper interface before beginning to properly support the display types. This converts the display struct into a class and provides it with the necessary functions to preserve behavior within the NVFlinger class.
* service/nvflinger: Relocate definitions of Layer and Display to the vi serviceLioncash2019-02-201-0/+28
These are more closely related to the vi service as opposed to the intermediary nvflinger. This also places them in their relevant subfolder, as future changes to these will likely result in subclassing to represent various displays and services, as they're done within the service itself on hardware. The reasoning for prefixing the display and layer source files is to avoid potential clashing if two files with the same name are compiled (e.g. if 'display.cpp/.h' or 'layer.cpp/.h' is added to another service at any point), which MSVC will actually warn against. This prevents that case from occurring. This also presently coverts the std::array introduced within f45c25aabacc70861723a7ca1096a677bd987487 back to a std::vector to allow the forward declaration of the Display type. Forward declaring a type within a std::vector is allowed since the introduction of N4510 (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4510.html) by Zhihao Yuan.