mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-23 06:46:02 +00:00
chore: trace gamescope host-plane submissions
This commit is contained in:
1 parent
b506652c36
commit
f533e9c5a7
1 file changed
+11
@@ -18,3 +18,14 @@
|
||||
{
|
||||
uint64_t now = get_time_in_nanos();
|
||||
|
||||
--- a/src/Backends/WaylandBackend.cpp
|
||||
+++ b/src/Backends/WaylandBackend.cpp
|
||||
@@ -1473,6 +1473,8 @@
|
||||
|
||||
void CWaylandPlane::Present( std::optional<WaylandPlaneState> oState )
|
||||
{
|
||||
+ if (m_pFrame && oState)
|
||||
+ fprintf(stderr, "[dd-plane] now=%lu buffer=%p\n", get_time_in_nanos(), oState->pBuffer);
|
||||
{
|
||||
std::unique_lock lock( m_PlaneStateLock );
|
||||
m_oCurrentPlaneState = oState;
|
||||
Reference in new issue
Block a user