diff options
| author | 2022-12-07 00:28:35 +0100 | |
|---|---|---|
| committer | 2023-01-01 16:43:58 -0500 | |
| commit | 581a7d785bb4936c92d320f17d3d824e244eee5a (patch) | |
| tree | f378a4075f924ad9b5a775195e0b32e5ca032c7a /src/video_core/rasterizer_interface.h | |
| parent | RasterizerMemory: Add filtering for flushing/invalidation operations. (diff) | |
| download | yuzu-581a7d785bb4936c92d320f17d3d824e244eee5a.tar.gz yuzu-581a7d785bb4936c92d320f17d3d824e244eee5a.tar.xz yuzu-581a7d785bb4936c92d320f17d3d824e244eee5a.zip | |
Rasterizer: Setup skeleton for Host Conditional rendering
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
| -rw-r--r-- | src/video_core/rasterizer_interface.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h index 6d8d2b666..f44c7df50 100644 --- a/src/video_core/rasterizer_interface.h +++ b/src/video_core/rasterizer_interface.h | |||
| @@ -127,6 +127,10 @@ public: | |||
| 127 | /// Notify rasterizer that a frame is about to finish | 127 | /// Notify rasterizer that a frame is about to finish |
| 128 | virtual void TickFrame() = 0; | 128 | virtual void TickFrame() = 0; |
| 129 | 129 | ||
| 130 | virtual bool AccelerateConditionalRendering() { | ||
| 131 | return false; | ||
| 132 | } | ||
| 133 | |||
| 130 | /// Attempt to use a faster method to perform a surface copy | 134 | /// Attempt to use a faster method to perform a surface copy |
| 131 | [[nodiscard]] virtual bool AccelerateSurfaceCopy( | 135 | [[nodiscard]] virtual bool AccelerateSurfaceCopy( |
| 132 | const Tegra::Engines::Fermi2D::Surface& src, const Tegra::Engines::Fermi2D::Surface& dst, | 136 | const Tegra::Engines::Fermi2D::Surface& src, const Tegra::Engines::Fermi2D::Surface& dst, |