Home
last modified time | relevance | path

Searched refs:bufferHubBuffer (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/libs/ui/
DGraphicBuffer.cpp612 std::unique_ptr<BufferHubBuffer> bufferHubBuffer = BufferHubBuffer::import(importTokenHandle); in unflattenBufferHubBuffer() local
613 if (bufferHubBuffer == nullptr || bufferHubBuffer.get() == nullptr) { in unflattenBufferHubBuffer()
623 initWithHandle(bufferHubBuffer->duplicateHandle(), /*method=*/TAKE_UNREGISTERED_HANDLE, in unflattenBufferHubBuffer()
624 bufferHubBuffer->desc().width, bufferHubBuffer->desc().height, in unflattenBufferHubBuffer()
625 static_cast<PixelFormat>(bufferHubBuffer->desc().format), in unflattenBufferHubBuffer()
626 bufferHubBuffer->desc().layers, bufferHubBuffer->desc().usage, in unflattenBufferHubBuffer()
627 bufferHubBuffer->desc().stride); in unflattenBufferHubBuffer()
628 mBufferId = bufferHubBuffer->id(); in unflattenBufferHubBuffer()
629 mBufferHubBuffer.reset(std::move(bufferHubBuffer.get())); in unflattenBufferHubBuffer()