mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-07-05 13:57:54 -05:00
GPU: Add Reactive flushing
This commit is contained in:
@ -10,6 +10,7 @@
|
||||
#include "core/hle/service/nvdrv/nvdata.h"
|
||||
#include "video_core/cdma_pusher.h"
|
||||
#include "video_core/framebuffer_config.h"
|
||||
#include "video_core/rasterizer_download_area.h"
|
||||
|
||||
namespace Core {
|
||||
class System;
|
||||
@ -240,6 +241,9 @@ public:
|
||||
/// Swap buffers (render frame)
|
||||
void SwapBuffers(const Tegra::FramebufferConfig* framebuffer);
|
||||
|
||||
/// Notify rasterizer that any caches of the specified region should be flushed to Switch memory
|
||||
[[nodiscard]] VideoCore::RasterizerDownloadArea OnCPURead(VAddr addr, u64 size);
|
||||
|
||||
/// Notify rasterizer that any caches of the specified region should be flushed to Switch memory
|
||||
void FlushRegion(VAddr addr, u64 size);
|
||||
|
||||
|
Reference in New Issue
Block a user