mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 16:45:47 +00:00
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.
This commit is contained in:
parent
91a0d29466
commit
2d5bf5a379
6 changed files with 276 additions and 196 deletions
|
@ -8,9 +8,13 @@
|
|||
namespace Service {
|
||||
namespace NVDRV {
|
||||
|
||||
std::weak_ptr<NVDRV_A> nvdrv_a;
|
||||
|
||||
void InstallInterfaces(SM::ServiceManager& service_manager) {
|
||||
std::make_shared<NVDRV_A>()->InstallAsService(service_manager);
|
||||
auto nvdrv = std::make_shared<NVDRV_A>();
|
||||
nvdrv->InstallAsService(service_manager);
|
||||
nvdrv_a = nvdrv;
|
||||
}
|
||||
|
||||
} // namespace nvdrv
|
||||
} // namespace NVDRV
|
||||
} // namespace Service
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue