Searched refs:buffers_ (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/libs/gui/ |
D | BufferHubProducer.cpp | 60 } else if (!buffers_[slot].mBufferState.isDequeued()) { in requestBuffer() 62 buffers_[slot].mBufferState.string()); in requestBuffer() 64 } else if (buffers_[slot].mGraphicBuffer != nullptr) { in requestBuffer() 67 } else if (buffers_[slot].mProducerBuffer == nullptr) { in requestBuffer() 72 const auto& producer_buffer = buffers_[slot].mProducerBuffer; in requestBuffer() 75 buffers_[slot].mGraphicBuffer = graphic_buffer; in requestBuffer() 76 buffers_[slot].mRequestBufferCalled = true; in requestBuffer() 98 for (const auto& buf : buffers_) { in setMaxDequeuedBufferCount() 186 buffers_[slot].mIsReallocating = true; in dequeueBuffer() 205 LOG_ALWAYS_FATAL_IF((!buffers_[slot].mBufferState.isFree() && in dequeueBuffer() [all …]
|
/frameworks/native/services/vr/bufferhubd/ |
D | producer_queue_channel.cpp | 125 if (auto buffer = buffers_[slot].lock()) in OnCreateConsumerQueue() 260 if (buffers_[slot].expired()) in AllocateBuffer() 270 buffers_[slot] = producer_channel; in AllocateBuffer() 340 if (buffers_[slot].expired()) in OnProducerQueueInsertBuffer() 350 buffers_[slot] = producer_channel; in OnProducerQueueInsertBuffer() 367 if (buffers_[slot].expired()) { in OnProducerQueueRemoveBuffer() 382 buffers_[slot].reset(); in OnProducerQueueRemoveBuffer()
|
/frameworks/native/libs/vr/libbufferhubqueue/ |
D | buffer_hub_queue_client.cpp | 213 if (!buffers_[slot]) { in HandleBufferEvent() 218 auto status = buffers_[slot]->GetEventMask(poll_events); in HandleBufferEvent() 229 id(), buffers_[slot]->id(), slot, event_fd, poll_events, events); in HandleBufferEvent() 232 return Enqueue({buffers_[slot], slot, buffers_[slot]->GetQueueIndex()}); in HandleBufferEvent() 237 slot, buffers_[slot]->event_fd(), buffers_[slot]->id()); in HandleBufferEvent() 287 if (buffers_[slot]) { in AddBuffer() 308 buffers_[slot] = buffer; in AddBuffer() 316 if (buffers_[slot]) { in RemoveBuffer() 317 for (const auto& event_source : buffers_[slot]->GetEventSources()) { in RemoveBuffer() 329 on_buffer_removed_(buffers_[slot]); in RemoveBuffer() [all …]
|
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/ |
D | buffer_hub_queue_client.h | 93 return (slot < buffers_.size() && buffers_[slot]) ? buffers_[slot]->id() in GetBufferId() 98 return buffers_[slot]; in GetBuffer() 262 std::array<std::shared_ptr<BufferHubBase>, kMaxQueueCapacity> buffers_; variable
|
/frameworks/native/services/vr/bufferhubd/include/private/dvr/ |
D | producer_queue_channel.h | 85 std::weak_ptr<ProducerChannel> buffers_[BufferHubRPC::kMaxQueueCapacity]; variable
|
/frameworks/native/libs/gui/include/gui/ |
D | BufferHubProducer.h | 212 BufferHubSlot buffers_[dvr::BufferHubQueue::kMaxQueueCapacity]; variable
|