Searched refs:ion_buffer (Results 1 – 8 of 8) 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 | 17 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()
|
D | dvr_internal.h | 22 const std::shared_ptr<IonBuffer>& ion_buffer);
|
/frameworks/native/libs/vr/libbufferhub/ |
D | buffer_hub_base.cpp | 65 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()
|
D | Android.bp | 31 "ion_buffer.cpp",
|
/frameworks/native/libs/vr/libvrflinger/ |
D | hardware_composer.cpp | 585 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()
|
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 | 334 int OnNewGlobalBuffer(DvrGlobalBufferKey key, IonBuffer& ion_buffer); 467 int MapConfigBuffer(IonBuffer& ion_buffer);
|