#include "include/core/SkPixelRef.h"
#include "include/private/base/SkAssert.h"
#include "include/private/base/SkDebug.h"
#include "src/core/SkBitmapCache.h"
#include "src/core/SkNextID.h"
#include "src/core/SkPixelRefPriv.h"
#include <atomic>
#include <utility>
uint32_t SkNextID::ImageID() { … }
SkPixelRef::SkPixelRef(int width, int height, void* pixels, size_t rowBytes)
: … { … }
SkPixelRef::~SkPixelRef() { … }
void SkPixelRef::android_only_reset(int width, int height, size_t rowBytes) { … }
void SkPixelRef::needsNewGenID() { … }
uint32_t SkPixelRef::getGenerationID() const { … }
void SkPixelRef::addGenIDChangeListener(sk_sp<SkIDChangeListener> listener) { … }
void SkPixelRef::callGenIDChangeListeners() { … }
void SkPixelRef::notifyPixelsChanged() { … }
void SkPixelRef::setImmutable() { … }
void SkPixelRef::setImmutableWithID(uint32_t genID) { … }
void SkPixelRef::setTemporarilyImmutable() { … }
void SkPixelRef::restoreMutability() { … }
sk_sp<SkPixelRef> SkMakePixelRefWithProc(int width, int height, size_t rowBytes, void* addr,
void (*releaseProc)(void* addr, void* ctx), void* ctx) { … }