Home
last modified time | relevance | path

Searched refs:ion_buffer (Results 1 – 8 of 8) 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.cpp17 const std::shared_ptr<IonBuffer>& ion_buffer) { in CreateDvrBufferFromIonBuffer() argument
18 if (!ion_buffer) in CreateDvrBufferFromIonBuffer()
20 return new DvrBuffer{std::move(ion_buffer)}; in CreateDvrBufferFromIonBuffer()
Ddvr_internal.h22 const std::shared_ptr<IonBuffer>& ion_buffer);
/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub_base.cpp65 IonBuffer ion_buffer; in ImportBuffer() local
68 if (const int ret = buffer_desc.ImportBuffer(&ion_buffer)) in ImportBuffer()
85 buffer_ = std::move(ion_buffer); in ImportBuffer()
DAndroid.bp31 "ion_buffer.cpp",
/frameworks/native/libs/vr/libvrflinger/
Dhardware_composer.cpp585 IonBuffer& ion_buffer) { in OnNewGlobalBuffer() argument
588 &ion_buffer, CPUUsageMode::WRITE_OFTEN); in OnNewGlobalBuffer()
596 return MapConfigBuffer(ion_buffer); in OnNewGlobalBuffer()
608 int HardwareComposer::MapConfigBuffer(IonBuffer& ion_buffer) { in MapConfigBuffer() argument
612 if (ion_buffer.width() < DvrConfigRing::MemorySize()) { in MapConfigBuffer()
618 int result = ion_buffer.Lock(ion_buffer.usage(), 0, 0, ion_buffer.width(), in MapConfigBuffer()
619 ion_buffer.height(), &buffer_base); in MapConfigBuffer()
627 shared_config_ring_ = DvrConfigRing::Create(buffer_base, ion_buffer.width()); in MapConfigBuffer()
628 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.h334 int OnNewGlobalBuffer(DvrGlobalBufferKey key, IonBuffer& ion_buffer);
467 int MapConfigBuffer(IonBuffer& ion_buffer);