mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
Add debug trace IDs to ports
This commit is contained in:
@@ -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++)
|
||||
{
|
||||
}
|
||||
|
||||
|
@@ -58,6 +58,8 @@ namespace PortabilityLayer
|
||||
uint16_t m_height;
|
||||
uint32_t m_dirtyFlags;
|
||||
GpPixelFormat_t m_pixelFormat;
|
||||
|
||||
uint32_t m_debugID;
|
||||
};
|
||||
|
||||
inline QDPortType QDPort::GetPortType() const
|
||||
|
Reference in New Issue
Block a user