Searched refs:producer_buffer (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/libs/gui/ |
D | BufferHubProducer.cpp | 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 [all …]
|
/frameworks/native/libs/vr/libdvr/ |
D | dvr_buffer_queue.cpp | 106 const auto& producer_buffer = write_buffers_[slot]->write_buffer; in GainBuffer() local 107 if (!producer_buffer) in GainBuffer() 110 if (width_ == producer_buffer->width() && in GainBuffer() 111 height_ == producer_buffer->height() && in GainBuffer() 112 format_ == producer_buffer->format()) { in GainBuffer() 125 slot, width_, height_, format_, producer_buffer->width(), in GainBuffer() 126 producer_buffer->height(), producer_buffer->format()); in GainBuffer() 131 uint32_t old_layer_count = producer_buffer->layer_count(); in GainBuffer() 132 uint64_t old_usage = producer_buffer->usage(); in GainBuffer()
|
/frameworks/native/libs/vr/libbufferhubqueue/tests/ |
D | buffer_hub_queue-test.cpp | 492 auto producer_buffer = producer_status.take(); in TEST_F() local 493 ASSERT_NE(producer_buffer, nullptr); in TEST_F() 494 EXPECT_EQ(producer_buffer->PostAsync(&mi, {}), 0); in TEST_F() 525 producer_buffer = producer_status.take(); in TEST_F() 526 ASSERT_NE(producer_buffer, nullptr); in TEST_F() 527 EXPECT_EQ(producer_buffer->PostAsync(&mi, {}), 0); in TEST_F() 854 std::shared_ptr<ProducerBuffer> producer_buffer; in TEST_F() local 884 producer_buffer = producer_status.take(); in TEST_F() 885 ASSERT_NE(nullptr, producer_buffer); in TEST_F() 886 ASSERT_EQ(0, producer_buffer->PostAsync(&mi, fence)); in TEST_F() [all …]
|
/frameworks/native/libs/vr/libbufferhub/ |
D | Android.bp | 26 "producer_buffer.cpp",
|