#include "cc/paint/raw_memory_transfer_cache_entry.h"
#include <string.h>
#include <utility>
#include "base/check_op.h"
namespace cc {
ClientRawMemoryTransferCacheEntry::ClientRawMemoryTransferCacheEntry(
std::vector<uint8_t> data)
: … { … }
ClientRawMemoryTransferCacheEntry::~ClientRawMemoryTransferCacheEntry() =
default;
base::AtomicSequenceNumber ClientRawMemoryTransferCacheEntry::s_next_id_;
uint32_t ClientRawMemoryTransferCacheEntry::SerializedSize() const { … }
uint32_t ClientRawMemoryTransferCacheEntry::Id() const { … }
bool ClientRawMemoryTransferCacheEntry::Serialize(
base::span<uint8_t> data) const { … }
ServiceRawMemoryTransferCacheEntry::ServiceRawMemoryTransferCacheEntry() =
default;
ServiceRawMemoryTransferCacheEntry::~ServiceRawMemoryTransferCacheEntry() =
default;
size_t ServiceRawMemoryTransferCacheEntry::CachedSize() const { … }
bool ServiceRawMemoryTransferCacheEntry::Deserialize(
GrDirectContext* context,
skgpu::graphite::Recorder* graphite_recorder,
base::span<const uint8_t> data) { … }
}