Rasterizer: Setup skeleton for Host Conditional rendering

This commit is contained in:
Fernando Sahmkow
2022-12-07 00:28:35 +01:00
committed by Feng Chen
parent d7c90f0c2a
commit b146b19b5e
6 changed files with 53 additions and 10 deletions
+4
View File
@@ -127,6 +127,10 @@ public:
/// Notify rasterizer that a frame is about to finish
virtual void TickFrame() = 0;
virtual bool AccelerateConditionalRendering() {
return false;
}
/// Attempt to use a faster method to perform a surface copy
[[nodiscard]] virtual bool AccelerateSurfaceCopy(
const Tegra::Engines::Fermi2D::Surface& src, const Tegra::Engines::Fermi2D::Surface& dst,