Searched refs:buffer_state_ (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/vr/bufferhubd/ |
D | producer_channel.cpp | 106 buffer_state_ = in InitializeBuffer() 172 channel_id(), buffer_id(), buffer_state_->load()); in ~ProducerChannel() 188 buffer_.usage(), pending_consumers_, buffer_state_->load(), in GetBufferInfo() 248 buffer_id(), buffer_state_->load()); in OnGetBuffer() 292 !BufferHubDefs::IsBufferReleased(buffer_state_->load())) { in CreateConsumer() 392 uint64_t buffer_state = buffer_state_->load(); in OnProducerDetach() 488 BufferHubDefs::ModifyBufferState(buffer_state_, in OnConsumerRelease() 493 buffer_id(), buffer_state_->load()); in OnConsumerRelease() 509 BufferHubDefs::IsBufferReleased(buffer_state_->load()), in OnConsumerRelease() 543 BufferHubDefs::ModifyBufferState(buffer_state_, consumer_state_bit, 0ULL); in OnConsumerOrphaned() [all …]
|
D | producer_channel.h | 81 std::atomic<uint64_t>* buffer_state_ = nullptr; variable
|
/frameworks/native/libs/vr/libbufferhub/ |
D | buffer_hub_client.cpp | 144 buffer_state_ = &metadata_header_->buffer_state; in ImportBuffer() 147 id(), buffer_state_->load()); in ImportBuffer() 276 uint64_t buffer_state = buffer_state_->load(); in LocalAcquire() 302 BufferHubDefs::ModifyBufferState(buffer_state_, 0ULL, buffer_state_bit()); in LocalAcquire() 356 uint64_t buffer_state = buffer_state_->load(); in LocalRelease() 490 uint64_t buffer_state = buffer_state_->load(); in LocalPost() 512 BufferHubDefs::ModifyBufferState(buffer_state_, 0ULL, in LocalPost() 545 uint64_t buffer_state = buffer_state_->load(); in LocalGain() 586 buffer_state_->store(0ULL); in LocalGain() 632 uint64_t buffer_state = buffer_state_->load(); in Detach()
|
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/ |
D | buffer_hub_client.h | 113 uint64_t buffer_state() { return buffer_state_->load(); }; in buffer_state() 155 std::atomic<uint64_t>* buffer_state_{nullptr};
|