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
|
||||
|
|
|
|||
Reference in a new issue