#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() { … }
}