Home
last modified time | relevance | path

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

/frameworks/native/libs/ui/include/ui/
DBufferHubBuffer.h30 class BufferHubBuffer {
33 static std::unique_ptr<BufferHubBuffer> create(uint32_t width, uint32_t height,
38 static std::unique_ptr<BufferHubBuffer> import(const sp<NativeHandle>& token);
40 BufferHubBuffer(const BufferHubBuffer&) = delete;
41 void operator=(const BufferHubBuffer&) = delete;
43 virtual ~BufferHubBuffer();
107 BufferHubBuffer(uint32_t width, uint32_t height, uint32_t layerCount, uint32_t format,
110 BufferHubBuffer(const sp<NativeHandle>& token);
DGraphicBuffer.h42 class BufferHubBuffer; variable
152 GraphicBuffer(std::unique_ptr<BufferHubBuffer> buffer);
316 std::unique_ptr<BufferHubBuffer> mBufferHubBuffer;
/frameworks/native/libs/ui/
DBufferHubBuffer.cpp42 std::unique_ptr<BufferHubBuffer> BufferHubBuffer::create(uint32_t width, uint32_t height, in create()
45 auto buffer = std::unique_ptr<BufferHubBuffer>( in create()
46 new BufferHubBuffer(width, height, layerCount, format, usage, userMetadataSize)); in create()
50 std::unique_ptr<BufferHubBuffer> BufferHubBuffer::import(const sp<NativeHandle>& token) { in import()
56 auto buffer = std::unique_ptr<BufferHubBuffer>(new BufferHubBuffer(token)); in import()
60 BufferHubBuffer::BufferHubBuffer(uint32_t width, uint32_t height, uint32_t layerCount, in BufferHubBuffer() function in android::BufferHubBuffer
107 BufferHubBuffer::BufferHubBuffer(const sp<NativeHandle>& token) { in BufferHubBuffer() function in android::BufferHubBuffer
145 BufferHubBuffer::~BufferHubBuffer() { in ~BufferHubBuffer()
156 int BufferHubBuffer::initWithBufferTraits(const BufferTraits& bufferTraits) { in initWithBufferTraits()
237 int BufferHubBuffer::gain() { in gain()
[all …]
DAndroid.bp58 "BufferHubBuffer.cpp",
122 "BufferHubBuffer.cpp",
DGraphicBuffer.cpp115 GraphicBuffer::GraphicBuffer(std::unique_ptr<BufferHubBuffer> buffer) : GraphicBuffer() { in GraphicBuffer()
612 std::unique_ptr<BufferHubBuffer> bufferHubBuffer = BufferHubBuffer::import(importTokenHandle); in unflattenBufferHubBuffer()
/frameworks/native/libs/ui/tests/
DBufferHubBuffer_test.cpp95 std::unique_ptr<BufferHubBuffer> b1;
97 std::unique_ptr<BufferHubBuffer> b2;
106 b1 = BufferHubBuffer::create(kWidth, kHeight, kLayerCount, kFormat, kUsage, kUserMetadataSize); in CreateTwoClientsOfABuffer()
114 b2 = BufferHubBuffer::import(token); in CreateTwoClientsOfABuffer()
124 auto b1 = BufferHubBuffer::create(kWidth, /*height=*/2, kLayerCount, in TEST_F()
130 auto b2 = BufferHubBuffer::create(kWidth, kHeight, kLayerCount, kFormat, kUsage, in TEST_F()
137 auto b3 = BufferHubBuffer::create(kWidth, kHeight, kLayerCount, kFormat, kUsage, in TEST_F()
144 auto b1 = BufferHubBuffer::create(kWidth, kHeight, kLayerCount, kFormat, kUsage, in TEST_F()
154 auto b1 = BufferHubBuffer::create(kWidth, kHeight, kLayerCount, kFormat, kUsage, in TEST_F()
166 std::unique_ptr<BufferHubBuffer> b2 = BufferHubBuffer::import(token); in TEST_F()
[all …]
DGraphicBuffer_test.cpp39 std::unique_ptr<BufferHubBuffer> b1 = in TEST_F()
40 BufferHubBuffer::create(kTestWidth, kTestHeight, kTestLayerCount, kTestFormat, in TEST_F()
63 std::unique_ptr<BufferHubBuffer> b1 = in TEST_F()
64 BufferHubBuffer::create(kTestWidth, kTestHeight, kTestLayerCount, kTestFormat, in TEST_F()
78 std::unique_ptr<BufferHubBuffer> b1 = in TEST_F()
79 BufferHubBuffer::create(kTestWidth, kTestHeight, kTestLayerCount, kTestFormat, in TEST_F()
/frameworks/native/libs/ui/include_vndk/ui/
DGraphicBuffer.h42 class BufferHubBuffer; variable
152 GraphicBuffer(std::unique_ptr<BufferHubBuffer> buffer);
316 std::unique_ptr<BufferHubBuffer> mBufferHubBuffer;