Commit Graph

54 Commits (e10248f308fba6a63b07512d7e618f77b665877a)

Author SHA1 Message Date
Hexagon12 e10248f308 Fixed normal params in GetDisplayResolution 8 years ago
bunnei 9d08a11c1d vi: Implement GetDisplayResolution. 8 years ago
mailwl 6673ed1274 Service/vi: convert services to module 8 years ago
N00byKing ef875d6a35 Clean Warnings (?) 8 years ago
bunnei c1c92c30f9 vi: Remove DequeueBuffer and wait until next available buffer. 8 years ago
Subv d758332425 Parcel: Ensure we don't read past the end of the parcels in Vi. 8 years ago
Subv 2662de6e52 Vi: Mark all fences as NO_FENCE in the DequeueBuffer response parcel. 8 years ago
Subv 1b64160d83 Vi: Always write the IGBPBuffer in the RequestBuffer response parcel.
This may break libnx homebrew due to a bug in libnx but is required by official games since they always assume that the buffer will be there.
8 years ago
Subv 35d0d06885 Vi: Mark the fences as valid in the DequeueBuffer response parcel. 8 years ago
Subv d18446f63a Vi: Added a missing u32 in the DequeueBuffer response parcel. 8 years ago
Subv b78ffc4abf Vi: Don't write the IGBPBuffer in the IGBPRequestBufferResponseParcel. 8 years ago
Subv 8dee5663b3 Vi: Properly write the BufferProducerFence object in the DequeueBuffer response parcel. 8 years ago
bunnei f16bb1dfcf vi: Eliminate direct usage of BufferDescriptorB. 8 years ago
bunnei 8f84665775 vi: Use ReadBuffer/WriteBuffer functions for TransactParcel. 8 years ago
bunnei 4f8ee5e456 vi: Fix TransactParcelAuto to support both buffer formats. 8 years ago
bunnei 91e19deb39 vi: Add FENCE_HACK, which is useful for booting BOTW. 8 years ago
bunnei a9e4e8294a vi: Stub TransactParcel CancelBuffer. 8 years ago
bunnei 4f969e2271 TransactParcel: Move WriteBlock to narrowest scope. 8 years ago
bunnei 6fce1414c3 vi: Parse IGBPQueueBufferRequestParcel params and expose buffer flip vertical. 8 years ago
bunnei 068744db1b vi: Fix OpenLayer and CreateStrayLayer. 8 years ago
bunnei c83a1b2320 vi: Implement TransactParcelAuto. 8 years ago
bunnei 63de56ee0f IGBPQueueBufferRequestParcel: Don't enforce buffer length.
- Another fix for libnx.
8 years ago
bunnei 309276a317 IGBPRequestBufferResponseParcel: Fix response for libnx. 8 years ago
bunnei 576f0cf027 IApplicationDisplayService::CloseDisplay: Fix response params size. 8 years ago
mailwl 335096e19a Service: stub some functions in am, audio, time, vi services 8 years ago
bunnei 8a5833f7ad logger: Add VI service logging category. 8 years ago
bunnei 5ad9b3e19d
Merge pull request #154 from mailwl/vi_create_stray_array
vi::CreateStrayLayer : add padding to request
8 years ago
mailwl 524c12a5f8 Services/vi: add vi:s and vi:u services 8 years ago
mailwl 58601abd1c vi::CreateStrayLayer : add padding to request 8 years ago
bunnei 1b1d399e5f hle: Rename RequestBuilder to ResponseBuilder. 8 years ago
bunnei f9dae99006 service: Fix all incorrect IPC response headers. 8 years ago
Subv 42859461f3 Services: Vi shouldn't be responsible for creating nvflinger.
It is now created during Service initialization and passed to all the services that need it.
8 years ago
Subv 8d7686ff8e VI: Move BufferQueue and NVFlinger to their own folder/namespace. 8 years ago
Subv 749043c809 VI: Implement the Query transaction of IHOSBinderDriver, and stubbed some results. 8 years ago
River City Ransomware dd62f125c3 Fixes some cast warnings, partial port of citra #3064 (#106)
* Fixes some cast warnings, partially fixes citra #3064

* Converted casts to uint32_t to u32

* Ran clang-format
8 years ago
gdkchan 8f13499bb8 Fix dispdrv typo 8 years ago
bunnei ed788742bf
Merge pull request #90 from lioncash/vi-override
vi: Minor clean up/correctness changes
8 years ago
Lioncash 3d19102c48 vi: Make constructors explicit where applicable
Prevents implicit conversions.
8 years ago
Lioncash 14069e6ec4 vi: Add missing override specifiers 8 years ago
Lioncash b16c89bf65 vi: Copy data directly into the std::vector within Parcel's ReadBlock function
Previously this would unnecessarily zero-initialize the vector before
copying the actual data into the vector instance.
8 years ago
Subv 30657f9ca1 NV: Move the nvdrv classes into the Nvidia namespace, and move the functionality to a s single module that services call. 8 years ago
Subv f827b17dd4 VI: Stubbed GetNativeHandle, Create/DestroyStrayLayer and CloseDisplay 8 years ago
bsaleil af1ca87be1 vi: Add IManagerDisplayService::CloseDisplay function 8 years ago
bunnei ebd613c2cc renderer: Render previous frame when no new one is available. 8 years ago
bunnei 1247c53786 yuzu: Update license text to be consistent across project. 8 years ago
bunnei 056f987bcd core: Include <algorithm> where used. 8 years ago
Subv 1ca800ccee NV: Move the nv device nodes to their own directory and namespace. 8 years ago
Subv 977ce4abbc VI: Use a Pulse event instead of OneShot for the vblank events.
This prevents missing frames if the vblank fires between the DequeueBuffer and Wait(vsync) calls
8 years ago
Subv 34ae2ec644 NV: Expose the nvdisp_disp0 device and a weak reference to the nvdrv:a service.
NVFlinger will call into the nvdisp_disp0 device to perform screen flips, bypassing the ioctl interface.

We now have the address of the framebuffer to draw, we just need to actually put it on the screen.
8 years ago
Subv e21fbd9ae5 NV: Determine what buffer to draw for each layer of each display.
Don't try to draw buffers that the guest application is using, only queued buffers are eligible for drawing.

Drawing actual pixels is still not implemented.
8 years ago