/frameworks/native/libs/ui/include/ui/ |
D | BufferHubBuffer.h | 30 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);
|
D | GraphicBuffer.h | 42 class BufferHubBuffer; variable 152 GraphicBuffer(std::unique_ptr<BufferHubBuffer> buffer); 316 std::unique_ptr<BufferHubBuffer> mBufferHubBuffer;
|
/frameworks/native/libs/ui/ |
D | BufferHubBuffer.cpp | 42 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 …]
|
D | Android.bp | 58 "BufferHubBuffer.cpp", 122 "BufferHubBuffer.cpp",
|
D | GraphicBuffer.cpp | 115 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/ |
D | BufferHubBuffer_test.cpp | 95 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 …]
|
D | GraphicBuffer_test.cpp | 39 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/ |
D | GraphicBuffer.h | 42 class BufferHubBuffer; variable 152 GraphicBuffer(std::unique_ptr<BufferHubBuffer> buffer); 316 std::unique_ptr<BufferHubBuffer> mBufferHubBuffer;
|