video_core: simplify accelerated surface fetch and crop handling between APIs

This commit is contained in:
Liam 2024-01-03 22:46:59 -05:00
parent 2bc64f4762
commit 84678c7014
18 changed files with 262 additions and 316 deletions

View file

@ -24,4 +24,7 @@ struct FramebufferConfig {
Common::Rectangle<int> crop_rect;
};
Common::Rectangle<f32> NormalizeCrop(const FramebufferConfig& framebuffer, u32 texture_width,
u32 texture_height);
} // namespace Tegra