gsp: remove unused GetFramebufferInfo

This commit is contained in:
Weiyi Wang 2019-06-23 14:25:28 -04:00
parent 8251de44cf
commit d483e556e3
2 changed files with 0 additions and 15 deletions

View File

@ -12,12 +12,6 @@ namespace Service::GSP {
static std::weak_ptr<GSP_GPU> gsp_gpu; static std::weak_ptr<GSP_GPU> gsp_gpu;
FrameBufferUpdate* GetFrameBufferInfo(u32 thread_id, u32 screen_index) {
auto gpu = gsp_gpu.lock();
ASSERT(gpu != nullptr);
return gpu->GetFrameBufferInfo(thread_id, screen_index);
}
void SignalInterrupt(InterruptId interrupt_id) { void SignalInterrupt(InterruptId interrupt_id) {
auto gpu = gsp_gpu.lock(); auto gpu = gsp_gpu.lock();
ASSERT(gpu != nullptr); ASSERT(gpu != nullptr);

View File

@ -16,15 +16,6 @@ class System;
} }
namespace Service::GSP { namespace Service::GSP {
/**
* 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);
/** /**
* Signals that the specified interrupt type has occurred to userland code * Signals that the specified interrupt type has occurred to userland code
* @param interrupt_id ID of interrupt that is being signalled * @param interrupt_id ID of interrupt that is being signalled