25#if KRITA_USE_SURFACE_COLOR_MANAGEMENT_API
28 m_rootSurfaceInfoProxy = proxy;
52#if KRITA_USE_SURFACE_COLOR_MANAGEMENT_API
54 if (m_rootSurfaceInfoProxy) {
55 multiConfig.
canvasProfile = m_rootSurfaceInfoProxy->rootSurfaceProfile();
56 multiConfig.
uiProfile = m_rootSurfaceInfoProxy->rootSurfaceProfile();
93 State newState = oldState;
111 State newState = oldState;
119 State newState = oldState;
131 State newState = oldState;
165 return { proofingConfig->determineDisplayIntent(options.first),
166 proofingConfig->determineDisplayFlags(options.second) };
CanvasSurfaceMode canvasSurfaceColorSpaceManagementMode(bool defaultValue=false) const
const KoColorProfile * displayProfile(int screen) const
KisDisplayConfig This class keeps track of the color management configuration for image to display....
std::pair< KoColorConversionTransformation::Intent, KoColorConversionTransformation::ConversionFlags > Options
static Options optionsFromKisConfig(const KisConfig &cfg)
const KoColorProfile * profile
void setOptions(const Options &options)
const KoColorProfile * uiProfile
const KoColorProfile * canvasProfile
State createInitializingConfig(bool isCanvasOpenGL, int screenId, KisProofingConfigurationSP proofingConfig) const
KisDisplayConfig::Options overriddenWithProofingConfig(const KisDisplayConfig::Options &options, KisProofingConfigurationSP proofingConfig) const
State onCanvasSurfaceFormatChanged(const State &oldState, const KisDisplayConfig &canvasConfig) const
KisMultiSurfaceStateManager()
State onConfigChanged(const State &oldState, int screenId, KisConfig::CanvasSurfaceMode surfaceMode, const KisDisplayConfig::Options &options) const
State onScreenChanged(const State &oldState, int screenId) const
~KisMultiSurfaceStateManager()
State onGuiSurfaceFormatChanged(const State &oldState, const KoColorProfile *uiProfile) const
State onProofingChanged(const State &oldState, KisProofingConfigurationSP proofingConfig) const
static KisOpenGLModeProber * instance()
const KoColorProfile * rootSurfaceColorProfile() const
#define KIS_SAFE_ASSERT_RECOVER(cond)
#define KIS_SAFE_ASSERT_RECOVER_RETURN_VALUE(cond, val)
#define KIS_SAFE_ASSERT_RECOVER_NOOP(cond)
KisProofingConfigurationSP proofingConfig
KisDisplayConfig::Options optionsFromConfig
KisMultiSurfaceDisplayConfig multiConfig
KisConfig::CanvasSurfaceMode surfaceMode
static KoColorSpaceRegistry * instance()
const KoColorProfile * p709SRGBProfile() const