protocols: refactor class member vars (types) (#10261)
This commit is contained in:
parent
3465efcdc1
commit
46ac115bd1
21 changed files with 147 additions and 147 deletions
|
|
@ -1379,9 +1379,9 @@ bool CMonitor::attemptDirectScanout() {
|
|||
if (!params.success || !PSURFACE->m_current.texture->m_pEglImage /* dmabuf */)
|
||||
return false;
|
||||
|
||||
Debug::log(TRACE, "attemptDirectScanout: surface {:x} passed, will attempt, buffer {}", (uintptr_t)PSURFACE.get(), (uintptr_t)PSURFACE->m_current.buffer.buffer.get());
|
||||
Debug::log(TRACE, "attemptDirectScanout: surface {:x} passed, will attempt, buffer {}", (uintptr_t)PSURFACE.get(), (uintptr_t)PSURFACE->m_current.buffer.m_buffer.get());
|
||||
|
||||
auto PBUFFER = PSURFACE->m_current.buffer.buffer;
|
||||
auto PBUFFER = PSURFACE->m_current.buffer.m_buffer;
|
||||
|
||||
if (PBUFFER == m_output->state->state().buffer) {
|
||||
PSURFACE->presentFeedback(Time::steadyNow(), m_self.lock());
|
||||
|
|
@ -1447,7 +1447,7 @@ bool CMonitor::attemptDirectScanout() {
|
|||
|
||||
m_scanoutNeedsCursorUpdate = false;
|
||||
|
||||
if (!PBUFFER->lockedByBackend || PBUFFER->hlEvents.backendRelease)
|
||||
if (!PBUFFER->lockedByBackend || PBUFFER->m_hlEvents.backendRelease)
|
||||
return true;
|
||||
|
||||
// lock buffer while DRM/KMS is using it, then release it when page flip happens since DRM/KMS should be done by then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue