Home
last modified time | relevance | path

Searched refs:IdAllocator (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/gpu/command_buffer/common/
Did_allocator.cc16 IdAllocator::IdAllocator() {} in IdAllocator() function in gpu::IdAllocator
18 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()
Did_allocator_test.cc17 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()
Did_allocator.h48 class GPU_EXPORT IdAllocator : public IdAllocatorInterface {
50 IdAllocator();
51 virtual ~IdAllocator();
73 DISALLOW_COPY_AND_ASSIGN(IdAllocator);
/external/chromium_org/gpu/command_buffer/service/
Dcontext_group.cc63 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()
/external/chromium_org/cc/resources/
Dresource_provider.h50 class IdAllocator; variable
653 scoped_ptr<IdAllocator> texture_id_allocator_;
654 scoped_ptr<IdAllocator> buffer_id_allocator_;
Dresource_provider.cc37 class IdAllocator { class
39 virtual ~IdAllocator() {} in ~IdAllocator()
44 IdAllocator(GLES2Interface* gl, size_t id_allocation_chunk_size) in IdAllocator() function in cc::IdAllocator
145 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()
/external/chromium_org/gpu/command_buffer/client/
Dshare_group.cc79 IdAllocator id_allocator_;