screencopy: implement dmabuf
This commit is contained in:
parent
985764c8db
commit
a22e1174ee
6 changed files with 65 additions and 9 deletions
|
|
@ -212,3 +212,11 @@ void Events::listener_monitorNeedsFrame(void* owner, void* data) {
|
|||
|
||||
g_pCompositor->scheduleFrameForMonitor(PMONITOR);
|
||||
}
|
||||
|
||||
void Events::listener_monitorCommit(void* owner, void* data) {
|
||||
const auto PMONITOR = (CMonitor*)owner;
|
||||
|
||||
const auto E = (wlr_output_event_commit*)data;
|
||||
|
||||
g_pProtocolManager->m_pScreencopyProtocolManager->onOutputCommit(PMONITOR, E);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue