Searched refs:outSlot (Results 1 - 8 of 8) sorted by relevance
/frameworks/native/include/gui/ |
H A D | BufferQueueProducer.h | 83 virtual status_t dequeueBuffer(int *outSlot, sp<Fence>* outFence, 95 virtual status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer);
|
H A D | IGraphicBufferConsumer.h | 113 // * BAD_VALUE - outSlot or buffer were NULL, or the generation number of 118 virtual status_t attachBuffer(int *outSlot,
|
H A D | IGraphicBufferProducer.h | 246 // * BAD_VALUE - outSlot or buffer were NULL, invalid combination of 260 virtual status_t attachBuffer(int* outSlot,
|
/frameworks/native/libs/gui/ |
H A D | BufferQueueConsumer.cpp | 312 status_t BufferQueueConsumer::attachBuffer(int* outSlot, argument 316 if (outSlot == NULL) { 317 BQ_LOGE("attachBuffer: outSlot must not be NULL"); 369 *outSlot = found; 370 ATRACE_BUFFER_INDEX(*outSlot); 371 BQ_LOGV("attachBuffer: returning slot %d", *outSlot); 373 mSlots[*outSlot].mGraphicBuffer = buffer; 374 mSlots[*outSlot].mBufferState.attachConsumer(); 375 mSlots[*outSlot].mNeedsReallocation = true; 376 mSlots[*outSlot] [all...] |
H A D | BufferQueueProducer.cpp | 343 status_t BufferQueueProducer::dequeueBuffer(int *outSlot, argument 439 *outSlot = found; 497 BQ_LOGV("dequeueBuffer: allocating a new buffer for slot %d", *outSlot); 505 mSlots[*outSlot].mGraphicBuffer = graphicBuffer; 545 *outSlot, 546 mSlots[*outSlot].mFrameNumber, 547 mSlots[*outSlot].mGraphicBuffer->handle, returnFlags); 656 status_t BufferQueueProducer::attachBuffer(int* outSlot, argument 660 if (outSlot == NULL) { 661 BQ_LOGE("attachBuffer: outSlot mus [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | MonitoredProducer.cpp | 82 status_t MonitoredProducer::attachBuffer(int* outSlot, argument 84 return mProducer->attachBuffer(outSlot, buffer);
|
H A D | MonitoredProducer.h | 45 virtual status_t attachBuffer(int* outSlot,
|
/frameworks/native/libs/gui/tests/ |
H A D | BufferQueue_test.cpp | 530 int outSlot; local 531 ASSERT_EQ(BAD_VALUE, mProducer->attachBuffer(&outSlot, buffer)); 532 ASSERT_EQ(BAD_VALUE, mConsumer->attachBuffer(&outSlot, buffer)); 537 ASSERT_EQ(OK, mProducer->attachBuffer(&outSlot, buffer)); 539 ASSERT_EQ(OK, mProducer->detachBuffer(outSlot)); 542 ASSERT_EQ(OK, mConsumer->attachBuffer(&outSlot, buffer));
|
Completed in 112 milliseconds