VideoCommon: Add method for calculating full-scale framedump rectangles

This commit is contained in:
Stenzek
2016-11-10 22:36:11 +10:00
parent 6db0ee9561
commit adc22a5e20
2 changed files with 74 additions and 11 deletions

View File

@ -93,6 +93,8 @@ public:
virtual TargetRectangle ConvertEFBRectangle(const EFBRectangle& rc) = 0;
static const TargetRectangle& GetTargetRectangle() { return target_rc; }
static float CalculateDrawAspectRatio(int target_width, int target_height);
static TargetRectangle CalculateFrameDumpDrawRectangle();
static void UpdateDrawRectangle();
// Use this to convert a single target rectangle to two stereo rectangles