Searched refs:IdAllocator (Results 1 – 7 of 7) sorted by relevance
16 IdAllocator::IdAllocator() {} in IdAllocator() function in gpu::IdAllocator18 IdAllocator::~IdAllocator() {} in ~IdAllocator()20 ResourceId IdAllocator::AllocateID() { in AllocateID()36 ResourceId IdAllocator::AllocateIDAtOrAbove(ResourceId desired_id) { in AllocateIDAtOrAbove()54 bool IdAllocator::MarkAsUsed(ResourceId id) { in MarkAsUsed()61 void IdAllocator::FreeID(ResourceId id) { in FreeID()68 bool IdAllocator::InUse(ResourceId id) const { in InUse()72 ResourceId IdAllocator::LastUsedId() const { in LastUsedId()80 ResourceId IdAllocator::FindFirstUnusedId() const { in FindFirstUnusedId()
17 IdAllocator* id_allocator() { return &id_allocator_; } in id_allocator()20 IdAllocator id_allocator_;25 IdAllocator *allocator = id_allocator(); in TEST_F()50 IdAllocator *allocator = id_allocator(); in TEST_F()74 IdAllocator* allocator = id_allocator(); in TEST_F()92 IdAllocator* allocator = id_allocator(); in TEST_F()104 IdAllocator* allocator = id_allocator(); in TEST_F()114 IdAllocator* allocator = id_allocator(); in TEST_F()
48 class GPU_EXPORT IdAllocator : public IdAllocatorInterface {50 IdAllocator();51 virtual ~IdAllocator();73 DISALLOW_COPY_AND_ASSIGN(IdAllocator);
63 id_namespaces_[id_namespaces::kBuffers].reset(new IdAllocator); in ContextGroup()64 id_namespaces_[id_namespaces::kFramebuffers].reset(new IdAllocator); in ContextGroup()67 id_namespaces_[id_namespaces::kRenderbuffers].reset(new IdAllocator); in ContextGroup()68 id_namespaces_[id_namespaces::kTextures].reset(new IdAllocator); in ContextGroup()69 id_namespaces_[id_namespaces::kQueries].reset(new IdAllocator); in ContextGroup()70 id_namespaces_[id_namespaces::kVertexArrays].reset(new IdAllocator); in ContextGroup()
50 class IdAllocator; variable653 scoped_ptr<IdAllocator> texture_id_allocator_;654 scoped_ptr<IdAllocator> buffer_id_allocator_;
37 class IdAllocator { class39 virtual ~IdAllocator() {} in ~IdAllocator()44 IdAllocator(GLES2Interface* gl, size_t id_allocation_chunk_size) in IdAllocator() function in cc::IdAllocator145 class TextureIdAllocator : public IdAllocator {149 : IdAllocator(gl, texture_id_allocation_chunk_size) {} in TextureIdAllocator()169 class BufferIdAllocator : public IdAllocator {172 : IdAllocator(gl, buffer_id_allocation_chunk_size) {} in BufferIdAllocator()
79 IdAllocator id_allocator_;