#include "include/gpu/graphite/YUVABackendTextures.h"
#include "include/gpu/graphite/Recorder.h"
#include "src/core/SkYUVAInfoLocation.h"
#include "src/gpu/graphite/Caps.h"
#include "src/gpu/graphite/RecorderPriv.h"
namespace skgpu::graphite {
namespace {
int num_channels(uint32_t ChannelMasks) { … }
}
YUVABackendTextureInfo::YUVABackendTextureInfo(const Recorder* recorder,
const SkYUVAInfo& yuvaInfo,
SkSpan<const TextureInfo> textureInfo,
Mipmapped mipmapped)
: … { … }
bool YUVABackendTextureInfo::operator==(const YUVABackendTextureInfo& that) const { … }
SkYUVAInfo::YUVALocations YUVABackendTextureInfo::toYUVALocations() const { … }
YUVABackendTextures::YUVABackendTextures(const Recorder* recorder,
const SkYUVAInfo& yuvaInfo,
SkSpan<const BackendTexture> textures)
: … { … }
SkYUVAInfo::YUVALocations YUVABackendTextures::toYUVALocations() const { … }
}