mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-01-08 23:49:14 +01:00
video_core: simplify accelerated surface fetch and crop handling between APIs
This commit is contained in:
parent
7cc7d027f7
commit
80de01a5b4
18 changed files with 262 additions and 316 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue