Home
last modified time | relevance | path

Searched refs:current_buffer_state (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/vr/libbufferhub/
Dproducer_buffer.cpp83 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()
105 __FUNCTION__, current_buffer_state, updated_buffer_state); in LocalPost()
106 if (!BufferHubDefs::isClientGained(current_buffer_state, in LocalPost()
111 __FUNCTION__, id(), current_buffer_state); in LocalPost()
164 uint32_t current_buffer_state = in LocalGain() local
167 current_buffer_state); in LocalGain()
169 if (BufferHubDefs::isClientGained(current_buffer_state, in LocalGain()
[all …]
Dconsumer_buffer.cpp39 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()
60 __FUNCTION__, current_buffer_state, updated_buffer_state); in LocalAcquire()
61 if (!BufferHubDefs::isClientPosted(current_buffer_state, in LocalAcquire()
66 __FUNCTION__, id(), current_buffer_state, client_state_mask()); in LocalAcquire()
70 updated_buffer_state = current_buffer_state ^ client_state_mask(); in LocalAcquire()
145 uint32_t current_buffer_state = in LocalRelease() local
[all …]
/frameworks/native/services/vr/bufferhubd/
Dproducer_channel.cpp333 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 …]