chromium/third_party/skia/src/gpu/AtlasTypes.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/AtlasTypes.h"

#include "include/core/SkAlphaType.h"
#include "include/core/SkImageInfo.h"
#include "include/private/base/SkMalloc.h"
#include "src/core/SkAutoPixmapStorage.h"
#include "src/core/SkSwizzlePriv.h"

namespace skgpu {

Plot::Plot(int pageIndex, int plotIndex, AtlasGenerationCounter* generationCounter,
           int offX, int offY, int width, int height, SkColorType colorType, size_t bpp)
        :{}

Plot::~Plot() {}

bool Plot::addRect(int width, int height, AtlasLocator* atlasLocator) {}

void* Plot::dataAt(const AtlasLocator& atlasLocator) {}

SkIPoint Plot::prepForRender(const AtlasLocator& al, SkAutoPixmapStorage* pixmap) {}

void Plot::copySubImage(const AtlasLocator& al, const void* image) {}

bool Plot::addSubImage(int width, int height, const void* image, AtlasLocator* atlasLocator) {}

std::pair<const void*, SkIRect> Plot::prepareForUpload() {}

void Plot::resetRects() {}

} // namespace skgpu