mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-09 20:29:11 +00:00
DisplayController
This commit is contained in:
parent
80574ce8b9
commit
6ff239326f
10 changed files with 233 additions and 12 deletions
177
src/Ryujinx.Horizon/Am/Ipc/Controllers/DisplayController.cs
Normal file
177
src/Ryujinx.Horizon/Am/Ipc/Controllers/DisplayController.cs
Normal file
|
@ -0,0 +1,177 @@
|
|||
using Ryujinx.Horizon.Common;
|
||||
using Ryujinx.Horizon.Sdk.Am.Controllers;
|
||||
using Ryujinx.Horizon.Sdk.Sf;
|
||||
|
||||
namespace Ryujinx.Horizon.Am.Ipc.Controllers
|
||||
{
|
||||
partial class DisplayController : IDisplayController
|
||||
{
|
||||
[CmifCommand(0)]
|
||||
public Result GetLastForegroundCaptureImage()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(1)]
|
||||
public Result UpdateLastForegroundCaptureImage()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(2)]
|
||||
public Result GetLastApplicationCaptureImage()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(3)]
|
||||
public Result GetCallerAppletCaptureImage()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(4)]
|
||||
public Result UpdateCallerAppletCaptureImage()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(5)]
|
||||
public Result GetLastForegroundCaptureImageEx()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(6)]
|
||||
public Result GetLastApplicationCaptureImageEx()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(7)]
|
||||
public Result GetCallerAppletCaptureImageEx()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(8)]
|
||||
public Result TakeScreenShotOfOwnLayer()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(9)]
|
||||
public Result CopyBetweenCaptureBuffers()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(10)]
|
||||
public Result AcquireLastApplicationCaptureBuffer()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(11)]
|
||||
public Result ReleaseLastApplicationCaptureBuffer()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(12)]
|
||||
public Result AcquireLastForegroundCaptureBuffer()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(13)]
|
||||
public Result ReleaseLastForegroundCaptureBuffer()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(14)]
|
||||
public Result AcquireCallerAppletCaptureBuffer()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(15)]
|
||||
public Result ReleaseCallerAppletCaptureBuffer()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(16)]
|
||||
public Result AcquireLastApplicationCaptureBufferEx()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(17)]
|
||||
public Result AcquireLastForegroundCaptureBufferEx()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(18)]
|
||||
public Result AcquireCallerAppletCaptureBufferEx()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(20)]
|
||||
public Result ClearCaptureBuffer()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(21)]
|
||||
public Result ClearAppletTransitionBuffer()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(22)]
|
||||
public Result AcquireLastApplicationCaptureSharedBuffer()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(23)]
|
||||
public Result ReleaseLastApplicationCaptureSharedBuffer()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(24)]
|
||||
public Result AcquireLastForegroundCaptureSharedBuffer()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(25)]
|
||||
public Result ReleaseLastForegroundCaptureSharedBuffer()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(26)]
|
||||
public Result AcquireCallerAppletCaptureSharedBuffer()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(27)]
|
||||
public Result ReleaseCallerAppletCaptureSharedBuffer()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
[CmifCommand(28)]
|
||||
public Result TakeScreenShotOfOwnLayerEx()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -42,9 +42,11 @@ namespace Ryujinx.Horizon.Am.Ipc.Proxies
|
|||
}
|
||||
|
||||
[CmifCommand(4)]
|
||||
public Result GetDisplayController()
|
||||
public Result GetDisplayController(out IDisplayController displayController)
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
displayController = new DisplayController();
|
||||
|
||||
return Result.Success;
|
||||
}
|
||||
|
||||
[CmifCommand(10)]
|
||||
|
|
|
@ -42,9 +42,11 @@ namespace Ryujinx.Horizon.Am.Ipc.Proxies
|
|||
}
|
||||
|
||||
[CmifCommand(4)]
|
||||
public Result GetDisplayController()
|
||||
public Result GetDisplayController(out IDisplayController displayController)
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
displayController = new DisplayController();
|
||||
|
||||
return Result.Success;
|
||||
}
|
||||
|
||||
[CmifCommand(10)]
|
||||
|
|
|
@ -42,9 +42,11 @@ namespace Ryujinx.Horizon.Am.Ipc.Proxies
|
|||
}
|
||||
|
||||
[CmifCommand(4)]
|
||||
public Result GetDisplayController()
|
||||
public Result GetDisplayController(out IDisplayController displayController)
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
displayController = new DisplayController();
|
||||
|
||||
return Result.Success;
|
||||
}
|
||||
|
||||
[CmifCommand(10)]
|
||||
|
|
|
@ -42,9 +42,11 @@ namespace Ryujinx.Horizon.Am.Ipc.Proxies
|
|||
}
|
||||
|
||||
[CmifCommand(4)]
|
||||
public Result GetDisplayController()
|
||||
public Result GetDisplayController(out IDisplayController displayController)
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
displayController = new DisplayController();
|
||||
|
||||
return Result.Success;
|
||||
}
|
||||
|
||||
[CmifCommand(10)]
|
||||
|
|
36
src/Ryujinx.Horizon/Sdk/Am/Controllers/IDisplayController.cs
Normal file
36
src/Ryujinx.Horizon/Sdk/Am/Controllers/IDisplayController.cs
Normal file
|
@ -0,0 +1,36 @@
|
|||
using Ryujinx.Horizon.Common;
|
||||
|
||||
namespace Ryujinx.Horizon.Sdk.Am.Controllers
|
||||
{
|
||||
public interface IDisplayController
|
||||
{
|
||||
Result GetLastForegroundCaptureImage();
|
||||
Result UpdateLastForegroundCaptureImage();
|
||||
Result GetLastApplicationCaptureImage();
|
||||
Result GetCallerAppletCaptureImage();
|
||||
Result UpdateCallerAppletCaptureImage();
|
||||
Result GetLastForegroundCaptureImageEx();
|
||||
Result GetLastApplicationCaptureImageEx();
|
||||
Result GetCallerAppletCaptureImageEx();
|
||||
Result TakeScreenShotOfOwnLayer();
|
||||
Result CopyBetweenCaptureBuffers();
|
||||
Result AcquireLastApplicationCaptureBuffer();
|
||||
Result ReleaseLastApplicationCaptureBuffer();
|
||||
Result AcquireLastForegroundCaptureBuffer();
|
||||
Result ReleaseLastForegroundCaptureBuffer();
|
||||
Result AcquireCallerAppletCaptureBuffer();
|
||||
Result ReleaseCallerAppletCaptureBuffer();
|
||||
Result AcquireLastApplicationCaptureBufferEx();
|
||||
Result AcquireLastForegroundCaptureBufferEx();
|
||||
Result AcquireCallerAppletCaptureBufferEx();
|
||||
Result ClearCaptureBuffer();
|
||||
Result ClearAppletTransitionBuffer();
|
||||
Result AcquireLastApplicationCaptureSharedBuffer();
|
||||
Result ReleaseLastApplicationCaptureSharedBuffer();
|
||||
Result AcquireLastForegroundCaptureSharedBuffer();
|
||||
Result ReleaseLastForegroundCaptureSharedBuffer();
|
||||
Result AcquireCallerAppletCaptureSharedBuffer();
|
||||
Result ReleaseCallerAppletCaptureSharedBuffer();
|
||||
Result TakeScreenShotOfOwnLayerEx();
|
||||
}
|
||||
}
|
|
@ -9,7 +9,7 @@ namespace Ryujinx.Horizon.Sdk.Am.Proxies
|
|||
Result GetSelfController(out ISelfController selfController);
|
||||
Result GetWindowController(out IWindowController windowController);
|
||||
Result GetAudioController(out IAudioController audioController);
|
||||
Result GetDisplayController();
|
||||
Result GetDisplayController(out IDisplayController displayController);
|
||||
Result GetProcessWindingController();
|
||||
Result GetLibraryAppletCreator();
|
||||
Result GetApplicationFunctions();
|
||||
|
|
|
@ -9,7 +9,7 @@ namespace Ryujinx.Horizon.Sdk.Am.Proxies
|
|||
Result GetSelfController(out ISelfController selfController);
|
||||
Result GetWindowController(out IWindowController windowController);
|
||||
Result GetAudioController(out IAudioController audioController);
|
||||
Result GetDisplayController();
|
||||
Result GetDisplayController(out IDisplayController displayController);
|
||||
Result GetProcessWindingController();
|
||||
Result GetLibraryAppletCreator();
|
||||
Result OpenLibraryAppletSelfAccessor();
|
||||
|
|
|
@ -9,7 +9,7 @@ namespace Ryujinx.Horizon.Sdk.Am.Proxies
|
|||
Result GetSelfController(out ISelfController selfController);
|
||||
Result GetWindowController(out IWindowController windowController);
|
||||
Result GetAudioController(out IAudioController audioController);
|
||||
Result GetDisplayController();
|
||||
Result GetDisplayController(out IDisplayController displayController);
|
||||
Result GetProcessWindingController();
|
||||
Result GetLibraryAppletCreator();
|
||||
Result GetOverlayFunctions();
|
||||
|
|
|
@ -9,7 +9,7 @@ namespace Ryujinx.Horizon.Sdk.Am.Proxies
|
|||
Result GetSelfController(out ISelfController selfController);
|
||||
Result GetWindowController(out IWindowController windowController);
|
||||
Result GetAudioController(out IAudioController audioController);
|
||||
Result GetDisplayController();
|
||||
Result GetDisplayController(out IDisplayController displayController);
|
||||
Result GetProcessWindingController();
|
||||
Result GetLibraryAppletCreator();
|
||||
Result GetHomeMenuFunctions();
|
||||
|
|
Loading…
Reference in a new issue