diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-11-05 22:26:38 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-11-24 20:35:44 +0100 |
commit | 957840be9151e7c3b97b638cc0d10d73173c4036 (patch) | |
tree | bf3f3aa7b612265fd19db8297ee09d71c819abe7 /src/video_core/engines/sw_blitter/blitter.h | |
parent | Merge pull request #9299 from lioncash/cast (diff) | |
download | yuzu-957840be9151e7c3b97b638cc0d10d73173c4036.tar yuzu-957840be9151e7c3b97b638cc0d10d73173c4036.tar.gz yuzu-957840be9151e7c3b97b638cc0d10d73173c4036.tar.bz2 yuzu-957840be9151e7c3b97b638cc0d10d73173c4036.tar.lz yuzu-957840be9151e7c3b97b638cc0d10d73173c4036.tar.xz yuzu-957840be9151e7c3b97b638cc0d10d73173c4036.tar.zst yuzu-957840be9151e7c3b97b638cc0d10d73173c4036.zip |
Diffstat (limited to 'src/video_core/engines/sw_blitter/blitter.h')
-rw-r--r-- | src/video_core/engines/sw_blitter/blitter.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/video_core/engines/sw_blitter/blitter.h b/src/video_core/engines/sw_blitter/blitter.h new file mode 100644 index 000000000..3edf40c3e --- /dev/null +++ b/src/video_core/engines/sw_blitter/blitter.h @@ -0,0 +1,27 @@ +// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + +#pragma once + +#include "video_core/engines/fermi_2d.h" + +namespace Tegra { +class MemoryManager; +} + +namespace Tegra::Engines::Blitter { + +class SoftwareBlitEngine { +public: + SoftwareBlitEngine(MemoryManager& memory_manager_); + ~SoftwareBlitEngine(); + + bool Blit(Fermi2D::Surface& src, Fermi2D::Surface& dst, Fermi2D::Config& copy_config); + +private: + MemoryManager& memory_manager; + struct BlitEngineImpl; + std::unique_ptr<BlitEngineImpl> impl; +}; + +} // namespace Tegra::Engines::Blitter |