mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 03:59:36 +00:00
Add debug trace IDs to ports
This commit is contained in:
@@ -6,6 +6,8 @@
|
|||||||
|
|
||||||
namespace PortabilityLayer
|
namespace PortabilityLayer
|
||||||
{
|
{
|
||||||
|
static uint32_t gs_nextQDPortDebugID = 0;
|
||||||
|
|
||||||
QDPort::QDPort(QDPortType portType)
|
QDPort::QDPort(QDPortType portType)
|
||||||
: m_portType(portType)
|
: m_portType(portType)
|
||||||
, m_left(0)
|
, m_left(0)
|
||||||
@@ -15,6 +17,7 @@ namespace PortabilityLayer
|
|||||||
, m_pixMap(nullptr)
|
, m_pixMap(nullptr)
|
||||||
, m_pixelFormat(GpPixelFormats::kInvalid)
|
, m_pixelFormat(GpPixelFormats::kInvalid)
|
||||||
, m_dirtyFlags(0)
|
, m_dirtyFlags(0)
|
||||||
|
, m_debugID(gs_nextQDPortDebugID++)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -58,6 +58,8 @@ namespace PortabilityLayer
|
|||||||
uint16_t m_height;
|
uint16_t m_height;
|
||||||
uint32_t m_dirtyFlags;
|
uint32_t m_dirtyFlags;
|
||||||
GpPixelFormat_t m_pixelFormat;
|
GpPixelFormat_t m_pixelFormat;
|
||||||
|
|
||||||
|
uint32_t m_debugID;
|
||||||
};
|
};
|
||||||
|
|
||||||
inline QDPortType QDPort::GetPortType() const
|
inline QDPortType QDPort::GetPortType() const
|
||||||
|
|||||||
Reference in New Issue
Block a user