Searched refs:current_buffer_state (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/libs/vr/libbufferhub/ |
D | producer_buffer.cpp | 83 uint32_t current_buffer_state = in LocalPost() local 85 if (!BufferHubDefs::isClientGained(current_buffer_state, in LocalPost() 88 current_buffer_state); in LocalPost() 97 current_buffer_state, updated_buffer_state, std::memory_order_acq_rel, in LocalPost() 99 if (!BufferHubDefs::isClientGained(current_buffer_state, in LocalPost() 104 __FUNCTION__, id(), current_buffer_state); in LocalPost() 157 uint32_t current_buffer_state = in LocalGain() local 160 current_buffer_state); in LocalGain() 162 if (BufferHubDefs::isClientGained(current_buffer_state, in LocalGain() 167 if (BufferHubDefs::isAnyClientAcquired(current_buffer_state) || in LocalGain() [all …]
|
D | consumer_buffer.cpp | 39 uint32_t current_buffer_state = in LocalAcquire() local 41 if (!BufferHubDefs::isClientPosted(current_buffer_state, in LocalAcquire() 46 __FUNCTION__, id(), current_buffer_state, client_state_mask()); in LocalAcquire() 51 uint32_t updated_buffer_state = current_buffer_state ^ client_state_mask(); in LocalAcquire() 53 current_buffer_state, updated_buffer_state, std::memory_order_acq_rel, in LocalAcquire() 55 if (!BufferHubDefs::isClientPosted(current_buffer_state, in LocalAcquire() 60 __FUNCTION__, id(), current_buffer_state, client_state_mask()); in LocalAcquire() 64 updated_buffer_state = current_buffer_state ^ client_state_mask(); in LocalAcquire() 139 uint32_t current_buffer_state = in LocalRelease() local 141 if (BufferHubDefs::isClientReleased(current_buffer_state, in LocalRelease() [all …]
|
/frameworks/native/services/vr/bufferhubd/ |
D | producer_channel.cpp | 333 uint32_t current_buffer_state = in CreateConsumer() local 338 if (current_buffer_state == 0U || in CreateConsumer() 339 BufferHubDefs::isAnyClientGained(current_buffer_state)) { in CreateConsumer() 345 if (!BufferHubDefs::isClientPosted(current_buffer_state, in CreateConsumer() 348 current_buffer_state ^ in CreateConsumer() 351 current_buffer_state, updated_buffer_state, std::memory_order_acq_rel, in CreateConsumer() 360 __FUNCTION__, current_buffer_state, updated_buffer_state); in CreateConsumer() 361 if (current_buffer_state == 0U || in CreateConsumer() 362 BufferHubDefs::isAnyClientGained(current_buffer_state)) { in CreateConsumer() 364 __FUNCTION__, current_buffer_state); in CreateConsumer() [all …]
|