diff options
author | bunnei <bunneidev@gmail.com> | 2015-07-11 23:56:59 -0400 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-07-11 23:56:59 -0400 |
commit | f4e1d8ea36fc3f8309234b8a4a8c9f659b171c80 (patch) | |
tree | 8756cd27489dcb424103e443836b6ea8dba3fccd /src/core/hle/service/gsp_gpu.h | |
parent | 4e900d56f3dd2b5c9871b523689322028123d891 (diff) | |
parent | 725d5eea7879fa152c51f15fd76003d3c6bc44ed (diff) |
Merge pull request #823 from Subv/applets_drawing
Library applet support (swkbd for now)
Diffstat (limited to 'src/core/hle/service/gsp_gpu.h')
-rw-r--r-- | src/core/hle/service/gsp_gpu.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/hle/service/gsp_gpu.h b/src/core/hle/service/gsp_gpu.h index d9e9a1a6..268089fd 100644 --- a/src/core/hle/service/gsp_gpu.h +++ b/src/core/hle/service/gsp_gpu.h @@ -173,4 +173,14 @@ public: */ void SignalInterrupt(InterruptId interrupt_id); +void SetBufferSwap(u32 screen_id, const FrameBufferInfo& info); + +/** + * Retrieves the framebuffer info stored in the GSP shared memory for the + * specified screen index and thread id. + * @param thread_id GSP thread id of the process that accesses the structure that we are requesting. + * @param screen_index Index of the screen we are requesting (Top = 0, Bottom = 1). + * @returns FramebufferUpdate Information about the specified framebuffer. + */ +FrameBufferUpdate* GetFrameBufferInfo(u32 thread_id, u32 screen_index); } // namespace |