Lines Matching refs:producer_buffer

72     const auto& producer_buffer = buffers_[slot].mProducerBuffer;  in requestBuffer()  local
73 sp<GraphicBuffer> graphic_buffer = producer_buffer->buffer()->buffer(); in requestBuffer()
161 std::shared_ptr<ProducerBuffer> producer_buffer; in dequeueBuffer() local
168 producer_buffer = buffer_status.take(); in dequeueBuffer()
169 if (!producer_buffer) return NO_MEMORY; in dequeueBuffer()
171 if (width == producer_buffer->width() && height == producer_buffer->height() && in dequeueBuffer()
172 uint32_t(format) == producer_buffer->format()) { in dequeueBuffer()
182 width, height, format, slot, producer_buffer->width(), producer_buffer->height(), in dequeueBuffer()
183 producer_buffer->format()); in dequeueBuffer()
252 std::shared_ptr<ProducerBuffer> producer_buffer = queue_->GetBuffer(slot); in DetachBufferLocked() local
253 if (producer_buffer == nullptr || producer_buffer->buffer() == nullptr) { in DetachBufferLocked()
257 sp<GraphicBuffer> graphic_buffer = producer_buffer->buffer()->buffer(); in DetachBufferLocked()
272 auto status_or_handle = producer_buffer->Detach(); in DetachBufferLocked()
319 std::shared_ptr<ProducerBuffer> producer_buffer = status_or_buffer.take(); in detachNextBuffer() local
320 if (producer_buffer == nullptr) { in detachNextBuffer()
338 if (buffers_[slot].mProducerBuffer->id() != producer_buffer->id()) { in detachNextBuffer()
341 slot, buffers_[slot].mProducerBuffer->id(), producer_buffer->id()); in detachNextBuffer()
350 sp<GraphicBuffer> graphic_buffer = producer_buffer->buffer()->buffer(); in detachNextBuffer()
351 buffers_[slot].mGraphicBuffer = producer_buffer->buffer()->buffer(); in detachNextBuffer()
456 const auto& producer_buffer = buffers_[slot].mProducerBuffer; in queueBuffer() local
459 Rect buffer_rect(producer_buffer->width(), producer_buffer->height()); in queueBuffer()
480 producer_buffer->PostAsync(&meta_data, fence_fd); in queueBuffer()
483 output->width = producer_buffer->width(); in queueBuffer()
484 output->height = producer_buffer->height(); in queueBuffer()
522 auto producer_buffer = buffers_[slot].mProducerBuffer; in cancelBuffer() local
523 queue_->Enqueue(producer_buffer, size_t(slot), 0U); in cancelBuffer()
794 auto producer_buffer = queue_->GetBuffer(slot); in AllocateBuffer() local
796 LOG_ALWAYS_FATAL_IF(producer_buffer == nullptr, in AllocateBuffer()
799 buffers_[slot].mProducerBuffer = producer_buffer; in AllocateBuffer()