Home
last modified time | relevance | path

Searched refs:IonBuffer (Results 1 – 18 of 18) sorted by relevance

/frameworks/native/libs/vr/libbufferhub/
Dion_buffer.cpp18 IonBuffer::IonBuffer() : IonBuffer(nullptr, 0, 0, 0, 0, 0, 0) {} in IonBuffer() function in android::dvr::IonBuffer
20 IonBuffer::IonBuffer(uint32_t width, uint32_t height, uint32_t format, in IonBuffer() function in android::dvr::IonBuffer
22 : IonBuffer() { in IonBuffer()
26 IonBuffer::IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height, in IonBuffer() function in android::dvr::IonBuffer
28 : IonBuffer(handle, width, height, kDefaultGraphicBufferLayerCount, stride, in IonBuffer()
31 IonBuffer::IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height, in IonBuffer() function in android::dvr::IonBuffer
44 IonBuffer::~IonBuffer() { in ~IonBuffer()
52 IonBuffer::IonBuffer(IonBuffer&& other) noexcept : IonBuffer() { in IonBuffer() function in android::dvr::IonBuffer
56 IonBuffer& IonBuffer::operator=(IonBuffer&& other) noexcept { in operator =()
67 void IonBuffer::FreeHandle() { in FreeHandle()
[all …]
Dbuffer_hub_base.cpp65 IonBuffer ion_buffer; in ImportBuffer()
72 IonBuffer metadata_buffer; in ImportBuffer()
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dion_buffer.h12 class IonBuffer {
14 IonBuffer();
15 IonBuffer(uint32_t width, uint32_t height, uint32_t format, uint64_t usage);
16 IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height,
18 IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height,
21 ~IonBuffer();
23 IonBuffer(IonBuffer&& other) noexcept;
24 IonBuffer& operator=(IonBuffer&& other) noexcept;
65 int Duplicate(const IonBuffer* other);
93 IonBuffer(const IonBuffer&) = delete;
[all …]
Dbuffer_hub_base.h64 IonBuffer* buffer() { return &buffer_; } in buffer()
65 const IonBuffer* buffer() const { return &buffer_; } in buffer()
162 IonBuffer buffer_;
163 IonBuffer metadata_buffer_;
Dbufferhub_rpc.h22 NativeBufferHandle(const IonBuffer& buffer, int id) in NativeBufferHandle()
45 int Import(IonBuffer* buffer) { in Import()
101 BufferDescription(const IonBuffer& buffer, const IonBuffer& metadata, int id, in BufferDescription()
130 int ImportBuffer(IonBuffer* buffer) { return buffer_.Import(buffer); } in ImportBuffer()
131 int ImportMetadata(IonBuffer* metadata) { return metadata_.Import(metadata); } in ImportMetadata()
/frameworks/native/libs/vr/libdisplay/include/private/dvr/
Dshared_buffer_helpers.h24 CPUMappedBuffer(std::unique_ptr<IonBuffer> buffer, CPUUsageMode mode);
27 CPUMappedBuffer(IonBuffer* buffer, CPUUsageMode mode);
50 std::unique_ptr<IonBuffer> owned_buffer_ = nullptr;
56 IonBuffer* buffer_ = nullptr;
72 CPUMappedBroadcastRing(std::unique_ptr<IonBuffer> buffer, CPUUsageMode mode) in CPUMappedBroadcastRing()
75 CPUMappedBroadcastRing(IonBuffer* buffer, CPUUsageMode mode) in CPUMappedBroadcastRing()
Ddisplay_client.h75 pdx::Status<std::unique_ptr<IonBuffer>> SetupGlobalBuffer(
78 pdx::Status<std::unique_ptr<IonBuffer>> GetGlobalBuffer(
Ddisplay_manager_client.h14 class IonBuffer; variable
/frameworks/native/services/vr/bufferhubd/include/private/dvr/
Dproducer_channel.h34 IonBuffer buffer,
35 IonBuffer metadata_buffer,
77 IonBuffer buffer_;
80 IonBuffer metadata_buffer_;
100 IonBuffer buffer, IonBuffer metadata_buffer,
/frameworks/native/libs/vr/libdvr/
Ddvr_internal.h19 class IonBuffer; variable
22 const std::shared_ptr<IonBuffer>& ion_buffer);
48 std::shared_ptr<android::dvr::IonBuffer> buffer;
Ddvr_buffer.cpp17 const std::shared_ptr<IonBuffer>& ion_buffer) { in CreateDvrBufferFromIonBuffer()
/frameworks/native/libs/vr/libvrflinger/
Dhardware_composer.h86 const std::shared_ptr<IonBuffer>& buffer, HWC::BlendMode blending,
99 void UpdateBuffer(const std::shared_ptr<IonBuffer>& buffer);
124 IonBuffer* GetBuffer();
228 IonBuffer* GetBuffer() { in GetBuffer()
250 std::shared_ptr<IonBuffer> buffer;
263 IonBuffer* GetBuffer() { return buffer.get(); } in GetBuffer()
334 int OnNewGlobalBuffer(DvrGlobalBufferKey key, IonBuffer& ion_buffer);
467 int MapConfigBuffer(IonBuffer& ion_buffer);
Dhardware_composer.cpp585 IonBuffer& ion_buffer) { in OnNewGlobalBuffer()
608 int HardwareComposer::MapConfigBuffer(IonBuffer& ion_buffer) { in MapConfigBuffer()
1328 const std::shared_ptr<IonBuffer>& buffer, HWC::BlendMode blending, in Layer()
1366 void Layer::UpdateBuffer(const std::shared_ptr<IonBuffer>& buffer) { in UpdateBuffer()
1385 IonBuffer* Layer::GetBuffer() { in GetBuffer()
1387 IonBuffer* operator()(SourceSurface& source) { return source.GetBuffer(); } in GetBuffer()
1388 IonBuffer* operator()(SourceBuffer& source) { return source.GetBuffer(); } in GetBuffer()
1389 IonBuffer* operator()(EmptyVariant) { return nullptr; } in GetBuffer()
Ddisplay_service.h115 std::unordered_map<DvrGlobalBufferKey, std::unique_ptr<IonBuffer>>
Ddisplay_service.cpp366 auto ion_buffer = std::make_unique<IonBuffer>(static_cast<int>(size), 1, in SetupGlobalBuffer()
/frameworks/native/libs/vr/libdisplay/
Ddisplay_client.cpp190 pdx::Status<std::unique_ptr<IonBuffer>> DisplayClient::SetupGlobalBuffer( in SetupGlobalBuffer()
202 auto ion_buffer = std::make_unique<IonBuffer>(); in SetupGlobalBuffer()
226 Status<std::unique_ptr<IonBuffer>> DisplayClient::GetGlobalBuffer( in GetGlobalBuffer()
237 auto ion_buffer = std::make_unique<IonBuffer>(); in GetGlobalBuffer()
Dshared_buffer_helpers.cpp17 CPUMappedBuffer::CPUMappedBuffer(std::unique_ptr<IonBuffer> buffer, in CPUMappedBuffer()
25 CPUMappedBuffer::CPUMappedBuffer(IonBuffer* buffer, CPUUsageMode mode) in CPUMappedBuffer()
/frameworks/native/services/vr/bufferhubd/
Dproducer_channel.cpp29 int channel_id, IonBuffer buffer, in ProducerChannel()
30 IonBuffer metadata_buffer, in ProducerChannel()
135 BufferHubService* service, int buffer_id, int channel_id, IonBuffer buffer, in Create()
136 IonBuffer metadata_buffer, size_t user_metadata_size) { in Create()