#include "src/gpu/ganesh/GrColorInfo.h"
#include "include/core/SkColorSpace.h"
#include "include/core/SkImageInfo.h"
#include "src/core/SkColorSpacePriv.h"
#include <utility>
GrColorInfo::GrColorInfo(
GrColorType colorType, SkAlphaType alphaType, sk_sp<SkColorSpace> colorSpace)
: … { … }
GrColorInfo::GrColorInfo(const SkColorInfo& ci)
: … { … }
GrColorInfo::GrColorInfo() = default;
GrColorInfo::GrColorInfo(const GrColorInfo&) = default;
GrColorInfo& GrColorInfo::operator=(const GrColorInfo&) = default;
GrColorInfo::~GrColorInfo() = default;
bool GrColorInfo::operator==(const GrColorInfo& that) const { … }
GrColorInfo GrColorInfo::makeColorType(GrColorType ct) const { … }
bool GrColorInfo::isLinearlyBlended() const { … }
SkColorSpace* GrColorInfo::colorSpace() const { … }
sk_sp<SkColorSpace> GrColorInfo::refColorSpace() const { … }