#include "gpu/command_buffer/common/shm_count.h"
#include "base/memory/shared_memory_mapping.h"
#include "base/memory/unsafe_shared_memory_region.h"
namespace gpu {
ShmCountBase::ShmCountBase() = default;
ShmCountBase::ShmCountBase(ShmCountBase&& other) = default;
ShmCountBase::~ShmCountBase() = default;
void ShmCountBase::Initialize(base::UnsafeSharedMemoryRegion region) { … }
bool ShmCountBase::IsInitialized() const { … }
volatile ShmCountBase::AtomicType* ShmCountBase::AsAtomic() { … }
GpuProcessShmCount::GpuProcessShmCount() = default;
GpuProcessShmCount::GpuProcessShmCount(GpuProcessShmCount&& other) = default;
GpuProcessShmCount::GpuProcessShmCount(base::UnsafeSharedMemoryRegion region) { … }
void GpuProcessShmCount::Increment() { … }
void GpuProcessShmCount::Decrement() { … }
GpuProcessHostShmCount::GpuProcessHostShmCount() { … }
GpuProcessShmCount::CountType GpuProcessHostShmCount::GetCount() { … }
}