Merge pull request #15894 from unknownbrackets/debugger

GE Debugger: Record only one flip if display framebuf not changed, step on vsync
This commit is contained in:
Henrik Rydgård 2022-08-24 06:27:31 +02:00 committed by GitHub
commit 5d50d02227
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 41 additions and 39 deletions

View file

@ -41,6 +41,7 @@
#include "GPU/Common/PresentationCommon.h"
#include "GPU/Common/TextureCacheCommon.h"
#include "GPU/Common/ReinterpretFramebuffer.h"
#include "GPU/Debugger/Debugger.h"
#include "GPU/Debugger/Record.h"
#include "GPU/Debugger/Stepping.h"
#include "GPU/GPUInterface.h"
@ -105,6 +106,7 @@ void FramebufferManagerCommon::SetDisplayFramebuffer(u32 framebuf, u32 stride, G
displayFramebufPtr_ = framebuf;
displayStride_ = stride;
displayFormat_ = format;
GPUDebug::NotifyDisplay(framebuf, stride, format);
GPURecord::NotifyDisplay(framebuf, stride, format);
}