#include "cc/paint/shader_transfer_cache_entry.h"
#include <utility>
#include "base/notreached.h"
namespace cc {
ServiceShaderTransferCacheEntry::ServiceShaderTransferCacheEntry(
sk_sp<PaintShader> shader,
size_t size)
: … { … }
ServiceShaderTransferCacheEntry::~ServiceShaderTransferCacheEntry() = default;
size_t ServiceShaderTransferCacheEntry::CachedSize() const { … }
bool ServiceShaderTransferCacheEntry::Deserialize(
GrDirectContext* context,
skgpu::graphite::Recorder* graphite_recorder,
base::span<const uint8_t> data) { … }
}