mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-16 09:38:15 -05:00
Rasterizer: Implement Inline2Memory Acceleration.
This commit is contained in:
@ -12,6 +12,10 @@ namespace Tegra {
|
||||
class MemoryManager;
|
||||
}
|
||||
|
||||
namespace VideoCore {
|
||||
class RasterizerInterface;
|
||||
}
|
||||
|
||||
namespace Tegra::Engines::Upload {
|
||||
|
||||
struct Registers {
|
||||
@ -60,6 +64,9 @@ public:
|
||||
void ProcessExec(bool is_linear_);
|
||||
void ProcessData(u32 data, bool is_last_call);
|
||||
|
||||
/// Binds a rasterizer to this engine.
|
||||
void BindRasterizer(VideoCore::RasterizerInterface* rasterizer);
|
||||
|
||||
private:
|
||||
u32 write_offset = 0;
|
||||
u32 copy_size = 0;
|
||||
@ -68,6 +75,7 @@ private:
|
||||
bool is_linear = false;
|
||||
Registers& regs;
|
||||
MemoryManager& memory_manager;
|
||||
VideoCore::RasterizerInterface* rasterizer = nullptr;
|
||||
};
|
||||
|
||||
} // namespace Tegra::Engines::Upload
|
||||
|
Reference in New Issue
Block a user