screencopy, render: Use explicit sync for screencopy (#9697)
* screencopy, render: Use explicit sync for screencopy * screencopy: Check if explicit sync is enabled * screencopy: Don't require explicit KMS enabled
This commit is contained in:
parent
ccbdba7ee2
commit
279b06044c
6 changed files with 62 additions and 51 deletions
|
|
@ -73,7 +73,7 @@ class CScreencopyFrame {
|
|||
CBox box = {};
|
||||
|
||||
void copy(CZwlrScreencopyFrameV1* pFrame, wl_resource* buffer);
|
||||
bool copyDmabuf();
|
||||
void copyDmabuf(std::function<void(bool)> callback);
|
||||
bool copyShm();
|
||||
void share();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue