render/cm: various updates, remove old protocols (#12693)
* fix named primaries * default to gamma22 * mark mastering primaries as supported * remove xx-cm and frog support * immutable primaries and image descriptions * clang-format
This commit is contained in:
parent
42447a50d6
commit
6d3b17ee83
25 changed files with 334 additions and 3171 deletions
|
|
@ -556,7 +556,7 @@ void CWLSurfaceResource::commitState(SSurfaceState& state) {
|
|||
dropCurrentBuffer();
|
||||
}
|
||||
|
||||
SImageDescription CWLSurfaceResource::getPreferredImageDescription() {
|
||||
PImageDescription CWLSurfaceResource::getPreferredImageDescription() {
|
||||
static const auto PFORCE_HDR = CConfigValue<Hyprlang::INT>("quirks:prefer_hdr");
|
||||
const auto WINDOW = m_hlSurface ? Desktop::View::CWindow::fromView(m_hlSurface->view()) : nullptr;
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ class CDRMSyncobjSurfaceResource;
|
|||
class CFifoResource;
|
||||
class CCommitTimerResource;
|
||||
class CColorManagementSurface;
|
||||
class CFrogColorManagementSurface;
|
||||
class CContentType;
|
||||
|
||||
class CWLCallbackResource {
|
||||
|
|
@ -126,7 +125,7 @@ class CWLSurfaceResource {
|
|||
void presentFeedback(const Time::steady_tp& when, PHLMONITOR pMonitor, bool discarded = false);
|
||||
void scheduleState(WP<SSurfaceState> state);
|
||||
void commitState(SSurfaceState& state);
|
||||
NColorManagement::SImageDescription getPreferredImageDescription();
|
||||
NColorManagement::PImageDescription getPreferredImageDescription();
|
||||
void sortSubsurfaces();
|
||||
bool hasVisibleSubsurface();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue