Home
last modified time | relevance | path

Searched refs:consumer_state_mask (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/vr/bufferhubd/
Dproducer_channel.cpp254 uint32_t consumer_state_mask = in CreateConsumerStateMask() local
257 if (consumer_state_mask == 0U) { in CreateConsumerStateMask()
263 current_active_clients_bit_mask | consumer_state_mask; in CreateConsumerStateMask()
281 consumer_state_mask = BufferHubDefs::findNextAvailableClientStateMask( in CreateConsumerStateMask()
283 if (consumer_state_mask == 0U) { in CreateConsumerStateMask()
289 current_active_clients_bit_mask | consumer_state_mask; in CreateConsumerStateMask()
292 return {consumer_state_mask}; in CreateConsumerStateMask()
295 void ProducerChannel::RemoveConsumerClientMask(uint32_t consumer_state_mask) { in RemoveConsumerClientMask() argument
299 buffer_state_->fetch_and(~consumer_state_mask, std::memory_order_release); in RemoveConsumerClientMask()
300 fence_state_->fetch_and(~consumer_state_mask, std::memory_order_release); in RemoveConsumerClientMask()
[all …]
Dconsumer_queue_channel.cpp99 uint64_t consumer_state_mask = status.get(); in RegisterNewBuffer() local
102 consumer_state_mask); in RegisterNewBuffer()
122 uint64_t consumer_state_mask = in OnConsumerQueueImportBuffers() local
123 pending_buffer_slots_.front().consumer_state_mask; in OnConsumerQueueImportBuffers()
134 producer_channel->CreateConsumer(message, consumer_state_mask); in OnConsumerQueueImportBuffers()
/frameworks/native/services/vr/bufferhubd/include/private/dvr/
Dproducer_channel.h57 uint32_t consumer_state_mask);
65 void OnConsumerOrphaned(const uint32_t& consumer_state_mask);
113 void RemoveConsumerClientMask(uint32_t consumer_state_mask);
Dconsumer_queue_channel.h51 consumer_state_mask = mask; in PendingBuffer()
57 uint64_t consumer_state_mask; member