core: Add support for HDR and color management protocols (#8715)

This commit is contained in:
UjinT34
2025-01-07 21:32:50 +03:00
committed by GitHub
parent 95542e4488
commit 830350a1f7
18 changed files with 3000 additions and 0 deletions

View File

@@ -23,6 +23,7 @@
#include "helpers/Monitor.hpp"
#include "desktop/Workspace.hpp"
#include "desktop/Window.hpp"
#include "protocols/types/ColorManagement.hpp"
#include "render/Renderer.hpp"
#include "render/OpenGL.hpp"
#include "hyprerror/HyprError.hpp"
@@ -169,6 +170,9 @@ class CCompositor {
void updateSuspendedStates();
void onNewMonitor(SP<Aquamarine::IOutput> output);
SImageDescription getPreferredImageDescription();
bool shouldChangePreferredImageDescription();
std::string explicitConfigPath;
private: