mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Decouple XFB scanout from presentation
This commit is contained in:
parent
f1e7fb505b
commit
e4b205c769
16 changed files with 319 additions and 383 deletions
|
@ -90,12 +90,10 @@ std::unique_ptr<AbstractPipeline> SWRenderer::CreatePipeline(const AbstractPipel
|
|||
}
|
||||
|
||||
// Called on the GPU thread
|
||||
void SWRenderer::SwapImpl(AbstractTexture* texture, const EFBRectangle& xfb_region, u64 ticks)
|
||||
void SWRenderer::RenderXFBToScreen(const AbstractTexture* texture, const EFBRectangle& xfb_region)
|
||||
{
|
||||
if (!IsHeadless())
|
||||
m_window->ShowImage(texture, xfb_region);
|
||||
|
||||
UpdateActiveConfig();
|
||||
}
|
||||
|
||||
u32 SWRenderer::AccessEFB(EFBAccessType type, u32 x, u32 y, u32 InputData)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue