Searched refs:ion_buffer (Results 1 – 9 of 9) sorted by relevance
/frameworks/native/libs/vr/libdisplay/ |
D | display_client.cpp | 202 auto ion_buffer = std::make_unique<IonBuffer>(); in SetupGlobalBuffer() local 204 const int ret = native_buffer_handle.Import(ion_buffer.get()); in SetupGlobalBuffer() 213 return {std::move(ion_buffer)}; in SetupGlobalBuffer() 237 auto ion_buffer = std::make_unique<IonBuffer>(); in GetGlobalBuffer() local 239 const int ret = native_buffer_handle.Import(ion_buffer.get()); in GetGlobalBuffer() 248 return {std::move(ion_buffer)}; in GetGlobalBuffer()
|
/frameworks/native/libs/vr/libdvr/ |
D | dvr_buffer.cpp | 16 const std::shared_ptr<IonBuffer>& ion_buffer) { in CreateDvrBufferFromIonBuffer() argument 17 if (!ion_buffer) in CreateDvrBufferFromIonBuffer() 19 return new DvrBuffer{std::move(ion_buffer)}; in CreateDvrBufferFromIonBuffer()
|
D | dvr_internal.h | 24 const std::shared_ptr<IonBuffer>& ion_buffer);
|
/frameworks/native/libs/vr/libbufferhub/ |
D | detached_buffer.cpp | 71 IonBuffer ion_buffer; in ImportGraphicBuffer() local 74 if (const int ret = buffer_desc.ImportBuffer(&ion_buffer)) { in ImportGraphicBuffer() 81 buffer_ = std::move(ion_buffer); in ImportGraphicBuffer()
|
D | Android.bp | 19 "ion_buffer.cpp",
|
D | buffer_hub_client.cpp | 86 IonBuffer ion_buffer; in ImportBuffer() local 89 if (const int ret = buffer_desc.ImportBuffer(&ion_buffer)) in ImportBuffer() 106 buffer_ = std::move(ion_buffer); in ImportBuffer()
|
/frameworks/native/libs/vr/libvrflinger/ |
D | hardware_composer.cpp | 569 IonBuffer& ion_buffer) { in OnNewGlobalBuffer() argument 572 &ion_buffer, CPUUsageMode::WRITE_OFTEN); in OnNewGlobalBuffer() 580 return MapConfigBuffer(ion_buffer); in OnNewGlobalBuffer() 592 int HardwareComposer::MapConfigBuffer(IonBuffer& ion_buffer) { in MapConfigBuffer() argument 596 if (ion_buffer.width() < DvrConfigRing::MemorySize()) { in MapConfigBuffer() 602 int result = ion_buffer.Lock(ion_buffer.usage(), 0, 0, ion_buffer.width(), in MapConfigBuffer() 603 ion_buffer.height(), &buffer_base); in MapConfigBuffer() 611 shared_config_ring_ = DvrConfigRing::Create(buffer_base, ion_buffer.width()); in MapConfigBuffer() 612 ion_buffer.Unlock(); in MapConfigBuffer()
|
D | display_service.cpp | 366 auto ion_buffer = std::make_unique<IonBuffer>(static_cast<int>(size), 1, in SetupGlobalBuffer() local 371 int result = hardware_composer_.OnNewGlobalBuffer(key, *ion_buffer.get()); in SetupGlobalBuffer() 375 global_buffers_.insert(std::make_pair(key, std::move(ion_buffer))) in SetupGlobalBuffer()
|
D | hardware_composer.h | 338 int OnNewGlobalBuffer(DvrGlobalBufferKey key, IonBuffer& ion_buffer); 457 int MapConfigBuffer(IonBuffer& ion_buffer);
|