Home | History | Annotate | Download | only in gui

Lines Matching refs:GraphicBuffer

58 status_t BufferQueueProducer::requestBuffer(int slot, sp<GraphicBuffer>* buf) {
406 const sp<GraphicBuffer>& buffer(mSlots[found].mGraphicBuffer);
427 const sp<GraphicBuffer>& buffer(mSlots[found].mGraphicBuffer);
498 sp<GraphicBuffer> graphicBuffer(mCore->mAllocator->createGraphicBuffer(
504 if (graphicBuffer != NULL && !mCore->mIsAbandoned) {
505 graphicBuffer->setGenerationNumber(mCore->mGenerationNumber);
506 mSlots[*outSlot].mGraphicBuffer = graphicBuffer;
512 if (graphicBuffer == NULL) {
611 status_t BufferQueueProducer::detachNextBuffer(sp<GraphicBuffer>* outBuffer,
662 const sp<android::GraphicBuffer>& buffer) {
807 const sp<GraphicBuffer>& graphicBuffer(mSlots[slot].mGraphicBuffer);
808 Rect bufferRect(graphicBuffer->getWidth(), graphicBuffer->getHeight());
916 // Don't send the GraphicBuffer through the callback, and don't send
1262 Vector<sp<GraphicBuffer>> buffers;
1265 sp<GraphicBuffer> graphicBuffer(mCore->mAllocator->createGraphicBuffer(
1276 buffers.push_back(graphicBuffer);
1391 status_t BufferQueueProducer::getLastQueuedBuffer(sp<GraphicBuffer>* outBuffer,