Rasterizer: Setup skeleton for Host Conditional rendering

This commit is contained in:
Fernando Sahmkow
2022-12-07 00:28:35 +01:00
parent 3630bfaef3
commit 581a7d785b
6 changed files with 53 additions and 10 deletions

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,