Home
last modified time | relevance | path

Searched refs:buffer_status (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/vr/libdvr/
Ddvr_surface.cpp193 auto buffer_status = client->SetupGlobalBuffer(key, size, gralloc_usage); in dvrSetupGlobalBuffer() local
194 if (!buffer_status) { in dvrSetupGlobalBuffer()
196 buffer_status.GetErrorMessage().c_str()); in dvrSetupGlobalBuffer()
197 return -buffer_status.error(); in dvrSetupGlobalBuffer()
200 *buffer_out = CreateDvrBufferFromIonBuffer(buffer_status.take()); in dvrSetupGlobalBuffer()
213 auto buffer_status = client->DeleteGlobalBuffer(key); in dvrDeleteGlobalBuffer() local
214 if (!buffer_status) { in dvrDeleteGlobalBuffer()
216 buffer_status.GetErrorMessage().c_str()); in dvrDeleteGlobalBuffer()
217 return -buffer_status.error(); in dvrDeleteGlobalBuffer()
Ddvr_buffer_queue.cpp84 auto buffer_status = in GainBuffer() local
86 if (!buffer_status) { in GainBuffer()
87 ALOGE_IF(buffer_status.error() != ETIMEDOUT, in GainBuffer()
89 buffer_status.GetErrorMessage().c_str()); in GainBuffer()
90 return -buffer_status.error(); in GainBuffer()
104 write_buffers_[slot]->write_buffer = std::move(buffer_status.take()); in GainBuffer()
347 auto buffer_status = in AcquireBuffer() local
349 if (!buffer_status) { in AcquireBuffer()
350 ALOGE_IF(buffer_status.error() != ETIMEDOUT, in AcquireBuffer()
352 buffer_status.GetErrorMessage().c_str()); in AcquireBuffer()
[all …]
/frameworks/native/libs/vr/libvrflinger/
Ddisplay_surface.cpp349 auto buffer_status = direct_queue_->Dequeue( in DequeueBuffersLocked() local
355 if (!buffer_status) { in DequeueBuffersLocked()
357 TRACE > 1 && buffer_status.error() == ETIMEDOUT, in DequeueBuffersLocked()
359 ALOGE_IF(buffer_status.error() != ETIMEDOUT, in DequeueBuffersLocked()
362 buffer_status.GetErrorMessage().c_str()); in DequeueBuffersLocked()
365 auto buffer_consumer = buffer_status.take(); in DequeueBuffersLocked()
/frameworks/native/libs/gui/
DBufferHubProducer.cpp165 auto buffer_status = queue_->Dequeue(dequeue_timeout_ms_, &slot, &fence); in dequeueBuffer() local
166 if (!buffer_status) return NO_MEMORY; in dequeueBuffer()
168 producer_buffer = buffer_status.take(); in dequeueBuffer()
/frameworks/native/libs/vr/libbufferhubqueue/
Dbuffer_hub_queue_client.cpp262 auto buffer_status = OnBufferAllocated(); in HandleQueueEvent() local
263 if (!buffer_status) { in HandleQueueEvent()
265 buffer_status.GetErrorMessage().c_str()); in HandleQueueEvent()