screencopy: un-hdr screencopy buffers for cm-unaware clients (#11294)
This commit is contained in:
parent
a907ecd4ff
commit
9607e3b5a8
6 changed files with 39 additions and 10 deletions
|
|
@ -18,7 +18,8 @@ class CColorManager {
|
|||
public:
|
||||
CColorManager(SP<CWpColorManagerV1> resource);
|
||||
|
||||
bool good();
|
||||
bool good();
|
||||
wl_client* client();
|
||||
|
||||
private:
|
||||
SP<CWpColorManagerV1> m_resource;
|
||||
|
|
@ -187,6 +188,8 @@ class CColorManagementProtocol : public IWaylandProtocol {
|
|||
void onImagePreferredChanged(uint32_t preferredId);
|
||||
void onMonitorImageDescriptionChanged(WP<CMonitor> monitor);
|
||||
|
||||
bool isClientCMAware(wl_client* client);
|
||||
|
||||
private:
|
||||
void destroyResource(CColorManager* resource);
|
||||
void destroyResource(CColorManagementOutput* resource);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue