chromium/third_party/skia/src/gpu/ganesh/GrImageInfo.cpp

/*
 * Copyright 2022 Google LLC
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include "src/gpu/ganesh/GrImageInfo.h"

#include "include/core/SkColorSpace.h"
#include "include/core/SkImageInfo.h"

#include <utility>

GrImageInfo::GrImageInfo() = default;

GrImageInfo::GrImageInfo(const SkImageInfo& info)
        :{}

GrImageInfo::GrImageInfo(GrColorType ct, SkAlphaType at, sk_sp<SkColorSpace> cs, int w, int h)
        :{}

GrImageInfo::GrImageInfo(GrColorType ct, SkAlphaType at, sk_sp<SkColorSpace> cs,
                         const SkISize& dimensions)
        :{}

GrImageInfo::GrImageInfo(const GrColorInfo& info, const SkISize& dimensions)
        :{}

GrImageInfo::GrImageInfo(GrColorInfo&& info, const SkISize& dimensions)
        :{}

GrImageInfo::GrImageInfo(const GrImageInfo&) = default;
GrImageInfo::GrImageInfo(GrImageInfo&&) = default;
GrImageInfo& GrImageInfo::operator=(const GrImageInfo&) = default;
GrImageInfo& GrImageInfo::operator=(GrImageInfo&&) = default;

GrImageInfo GrImageInfo::makeColorType(GrColorType ct) const {}

GrImageInfo GrImageInfo::makeAlphaType(SkAlphaType at) const {}

GrImageInfo GrImageInfo::makeColorSpace(sk_sp<SkColorSpace> cs) const {}

GrImageInfo GrImageInfo::makeDimensions(SkISize dimensions) const {}

GrImageInfo GrImageInfo::makeWH(int width, int height) const {}

sk_sp<SkColorSpace> GrImageInfo::refColorSpace() const {}