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

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

#include "include/gpu/ganesh/GrYUVABackendTextures.h"

#include "include/core/SkColor.h"
#include "include/core/SkSize.h"
#include "include/private/base/SkDebug.h"
#include "src/core/SkYUVAInfoLocation.h"

#include <algorithm>
#include <cstdint>

static int num_channels(const GrBackendFormat& format) {}

GrYUVABackendTextureInfo::GrYUVABackendTextureInfo(const SkYUVAInfo& yuvaInfo,
                                                   const GrBackendFormat formats[kMaxPlanes],
                                                   skgpu::Mipmapped mipmapped,
                                                   GrSurfaceOrigin origin)
        :{}

bool GrYUVABackendTextureInfo::operator==(const GrYUVABackendTextureInfo& that) const {}

SkYUVAInfo::YUVALocations GrYUVABackendTextureInfo::toYUVALocations() const {}

//////////////////////////////////////////////////////////////////////////////

GrYUVABackendTextures::GrYUVABackendTextures(
        const SkYUVAInfo& yuvaInfo,
        const GrBackendTexture textures[SkYUVAInfo::kMaxPlanes],
        GrSurfaceOrigin textureOrigin)
        :{}

SkYUVAInfo::YUVALocations GrYUVABackendTextures::toYUVALocations() const {}