Lines Matching defs:buffer
74 // Never allow the output BufferQueue to allocate a buffer
83 sp<GraphicBuffer> buffer;
87 ASSERT_EQ(OK, inputProducer->requestBuffer(slot, &buffer));
90 ASSERT_EQ(OK, buffer->lock(GraphicBuffer::USAGE_SW_WRITE_OFTEN,
93 ASSERT_EQ(OK, buffer->unlock());
100 // Now that we have dequeued/allocated one buffer, prevent any further
117 // received the buffer back from the output BufferQueue
145 // Never allow the output BufferQueues to allocate a buffer
155 sp<GraphicBuffer> buffer;
159 ASSERT_EQ(OK, inputProducer->requestBuffer(slot, &buffer));
162 ASSERT_EQ(OK, buffer->lock(GraphicBuffer::USAGE_SW_WRITE_OFTEN,
165 ASSERT_EQ(OK, buffer->unlock());
172 // Now that we have dequeued/allocated one buffer, prevent any further
192 // received the buffer back from the output BufferQueues
219 sp<GraphicBuffer> buffer;
223 ASSERT_EQ(OK, inputProducer->requestBuffer(slot, &buffer));