diff options
author | Subv <subv2112@gmail.com> | 2015-05-26 18:00:26 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2015-07-12 04:47:23 +0200 |
commit | 621ee10eae0546d4ec3f9e911e113aa9ee609c22 (patch) | |
tree | adfdc1cf9ae7e9ac9a5cf9950a91bbcfeb6cd552 /src/core/hle/service/gsp_gpu.h | |
parent | HLE/APT: Initial HLE support for applets. (diff) | |
download | yuzu-621ee10eae0546d4ec3f9e911e113aa9ee609c22.tar yuzu-621ee10eae0546d4ec3f9e911e113aa9ee609c22.tar.gz yuzu-621ee10eae0546d4ec3f9e911e113aa9ee609c22.tar.bz2 yuzu-621ee10eae0546d4ec3f9e911e113aa9ee609c22.tar.lz yuzu-621ee10eae0546d4ec3f9e911e113aa9ee609c22.tar.xz yuzu-621ee10eae0546d4ec3f9e911e113aa9ee609c22.tar.zst yuzu-621ee10eae0546d4ec3f9e911e113aa9ee609c22.zip |
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 d9e9a1a60..9fcf6f06f 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 |