Home
last modified time | relevance | path

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

/device/google/cuttlefish/guest/hals/hwcomposer/common/
Dgralloc_utils.h35 class GrallocBuffer {
37 GrallocBuffer(Gralloc* gralloc, buffer_handle_t buffer);
38 virtual ~GrallocBuffer();
40 GrallocBuffer(const GrallocBuffer& rhs) = delete;
41 GrallocBuffer& operator=(const GrallocBuffer& rhs) = delete;
43 GrallocBuffer(GrallocBuffer&& rhs);
44 GrallocBuffer& operator=(GrallocBuffer&& rhs);
87 std::optional<GrallocBuffer> Import(buffer_handle_t buffer);
92 friend class GrallocBuffer;
Dgralloc_utils.cpp129 std::optional<GrallocBuffer> Gralloc::Import(buffer_handle_t buffer) { in Import()
146 return GrallocBuffer(this, imported_buffer); in Import()
149 return GrallocBuffer(this, buffer); in Import()
361 GrallocBuffer::GrallocBuffer(Gralloc* gralloc, buffer_handle_t buffer) : in GrallocBuffer() function in cuttlefish::GrallocBuffer
364 GrallocBuffer::~GrallocBuffer() { Release(); } in ~GrallocBuffer()
366 GrallocBuffer::GrallocBuffer(GrallocBuffer&& rhs) { in GrallocBuffer() function in cuttlefish::GrallocBuffer
370 GrallocBuffer& GrallocBuffer::operator=(GrallocBuffer&& rhs) { in operator =()
378 void GrallocBuffer::Release() { in Release()
386 std::optional<void*> GrallocBuffer::Lock() { in Lock()
393 std::optional<android_ycbcr> GrallocBuffer::LockYCbCr() { in LockYCbCr()
[all …]
Dbase_composer.cpp40 GrallocBuffer& imported_buffer = *imported_buffer_opt; in PostFrameBufferTarget()
63 GrallocBuffer& buffer = *buffer_opt; in IsValidLayer()
Dcpu_composer.cpp303 std::optional<BufferSpec> GetBufferSpec(GrallocBuffer& buffer, in GetBufferSpec()
382 GrallocBuffer& buffer = *buffer_opt; in CanCompositeLayer()
408 GrallocBuffer& src_imported_buffer = *src_imported_buffer_opt; in CompositeLayer()