summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/RenderBase.h
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2016-10-08 12:56:28 +0200
committerdegasus <wickmarkus@web.de>2016-10-10 12:03:18 +0200
commit9f264c0872603ba1963adfa706ca7a1490bd0a24 (patch)
tree06d4069ab0332d8e4635ffaf712d3e4d2711a42f /Source/Core/VideoCommon/RenderBase.h
parenta583d36c7f38fac9fb66c059bf6990bfd819591f (diff)
AVIDump: Move CoreTiming into caller.
Diffstat (limited to 'Source/Core/VideoCommon/RenderBase.h')
-rw-r--r--Source/Core/VideoCommon/RenderBase.h7
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;