Add debug trace IDs to ports

This commit is contained in:
elasota
2019-12-27 14:18:05 -05:00
parent 88fe873bbe
commit 8ca4d17de7
2 changed files with 5 additions and 0 deletions

View File

@@ -6,6 +6,8 @@
namespace PortabilityLayer
{
static uint32_t gs_nextQDPortDebugID = 0;
QDPort::QDPort(QDPortType portType)
: m_portType(portType)
, m_left(0)
@@ -15,6 +17,7 @@ namespace PortabilityLayer
, m_pixMap(nullptr)
, m_pixelFormat(GpPixelFormats::kInvalid)
, m_dirtyFlags(0)
, m_debugID(gs_nextQDPortDebugID++)
{
}