diff options
| author | degasus <wickmarkus@web.de> | 2016-10-08 12:56:28 +0200 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2016-10-10 12:03:18 +0200 |
| commit | 9f264c0872603ba1963adfa706ca7a1490bd0a24 (patch) | |
| tree | 06d4069ab0332d8e4635ffaf712d3e4d2711a42f /Source/Core/VideoCommon/RenderBase.h | |
| parent | a583d36c7f38fac9fb66c059bf6990bfd819591f (diff) | |
AVIDump: Move CoreTiming into caller.
Diffstat (limited to 'Source/Core/VideoCommon/RenderBase.h')
| -rw-r--r-- | Source/Core/VideoCommon/RenderBase.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/RenderBase.h b/Source/Core/VideoCommon/RenderBase.h index f405ddc5eb..5c6a98dd21 100644 --- a/Source/Core/VideoCommon/RenderBase.h +++ b/Source/Core/VideoCommon/RenderBase.h @@ -123,9 +123,9 @@ public: // Finish up the current frame, print some stats static void Swap(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, const EFBRectangle& rc, - float Gamma = 1.0f); + u64 ticks, float Gamma = 1.0f); virtual void SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, - const EFBRectangle& rc, float Gamma = 1.0f) = 0; + const EFBRectangle& rc, u64 ticks, float Gamma = 1.0f) = 0; static PEControl::PixelFormat GetPrevPixelFormat() { return prev_efb_format; } static void StorePixelFormat(PEControl::PixelFormat new_format) { prev_efb_format = new_format; } @@ -146,7 +146,8 @@ protected: static void RecordVideoMemory(); bool IsFrameDumping(); - void DumpFrameData(const u8* data, int w, int h, int stride, bool swap_upside_down = false); + void DumpFrameData(const u8* data, int w, int h, int stride, u64 ticks, + bool swap_upside_down = false); void FinishFrameData(); static volatile bool s_bScreenshot; |
