Home
last modified time | relevance | path

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

/frameworks/native/libs/vr/libdisplay/
Ddisplay_client.cpp202 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/
Ddvr_buffer.cpp16 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()
Ddvr_internal.h24 const std::shared_ptr<IonBuffer>& ion_buffer);
/frameworks/native/libs/vr/libbufferhub/
Ddetached_buffer.cpp71 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()
DAndroid.bp19 "ion_buffer.cpp",
Dbuffer_hub_client.cpp86 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/
Dhardware_composer.cpp569 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()
Ddisplay_service.cpp366 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()
Dhardware_composer.h338 int OnNewGlobalBuffer(DvrGlobalBufferKey key, IonBuffer& ion_buffer);
457 int MapConfigBuffer(IonBuffer& ion_buffer);