#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_DARK_MODE_LAB_COLOR_SPACE_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_DARK_MODE_LAB_COLOR_SPACE_H_
#include <algorithm>
#include <cmath>
#include "base/check.h"
#include "third_party/skia/include/core/SkM44.h"
namespace blink {
namespace lab {
static constexpr SkV3 kIlluminantD50 = …;
static constexpr SkV3 kIlluminantD65 = …;
template <typename T>
inline constexpr T Clamp(T x, T min, T max) { … }
inline SkM44 ChromaticAdaptation(const SkM44& matrix,
const SkV3& src_white_point,
const SkV3& dst_white_point) { … }
class DarkModeSRGBColorSpace { … };
class DarkModeLABColorSpace { … };
class DarkModeSRGBLABTransformer { … };
}
}
#endif