Home
last modified time | relevance | path

Searched refs:outSlot (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/libs/gui/
DBufferQueueConsumer.cpp206 status_t BufferQueueConsumer::attachBuffer(int* outSlot, in attachBuffer() argument
210 if (outSlot == NULL) { in attachBuffer()
246 *outSlot = found; in attachBuffer()
247 ATRACE_BUFFER_INDEX(*outSlot); in attachBuffer()
248 BQ_LOGV("attachBuffer(C): returning slot %d", *outSlot); in attachBuffer()
250 mSlots[*outSlot].mGraphicBuffer = buffer; in attachBuffer()
251 mSlots[*outSlot].mBufferState = BufferSlot::ACQUIRED; in attachBuffer()
252 mSlots[*outSlot].mAttachedByConsumer = true; in attachBuffer()
253 mSlots[*outSlot].mNeedsCleanupOnRelease = false; in attachBuffer()
254 mSlots[*outSlot].mFence = Fence::NO_FENCE; in attachBuffer()
[all …]
DBufferQueueProducer.cpp251 status_t BufferQueueProducer::dequeueBuffer(int *outSlot, in dequeueBuffer() argument
297 *outSlot = found; in dequeueBuffer()
342 BQ_LOGV("dequeueBuffer: allocating a new buffer for slot %d", *outSlot); in dequeueBuffer()
358 mSlots[*outSlot].mFrameNumber = UINT32_MAX; in dequeueBuffer()
359 mSlots[*outSlot].mGraphicBuffer = graphicBuffer; in dequeueBuffer()
383 *outSlot, in dequeueBuffer()
384 mSlots[*outSlot].mFrameNumber, in dequeueBuffer()
385 mSlots[*outSlot].mGraphicBuffer->handle, returnFlags); in dequeueBuffer()
466 status_t BufferQueueProducer::attachBuffer(int* outSlot, in attachBuffer() argument
470 if (outSlot == NULL) { in attachBuffer()
[all …]
/frameworks/native/include/gui/
DBufferQueueProducer.h96 virtual status_t dequeueBuffer(int *outSlot, sp<Fence>* outFence, bool async,
107 virtual status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer);
DIGraphicBufferConsumer.h173 virtual status_t attachBuffer(int *outSlot,
DIGraphicBufferProducer.h233 virtual status_t attachBuffer(int* outSlot,
/frameworks/native/services/surfaceflinger/
DMonitoredProducer.cpp77 status_t MonitoredProducer::attachBuffer(int* outSlot, in attachBuffer() argument
79 return mProducer->attachBuffer(outSlot, buffer); in attachBuffer()
DMonitoredProducer.h44 virtual status_t attachBuffer(int* outSlot,