Searched refs:IonBuffer (Results 1 - 17 of 17) sorted by relevance

/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
H A Dion_buffer.h11 // IonBuffer is an abstraction of Ion/Gralloc buffers.
12 class IonBuffer { class in namespace:android::dvr
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);
24 IonBuffer
[all...]
H A Dbuffer_hub_client.h82 IonBuffer* buffer() { return &buffer_; }
83 const IonBuffer* buffer() const { return &buffer_; }
118 IonBuffer buffer_;
H A Dnative_buffer.h21 // An implementation of ANativeWindowBuffer backed by an IonBuffer.
28 explicit NativeBuffer(const std::shared_ptr<IonBuffer>& buffer)
40 std::shared_ptr<IonBuffer> buffer() { return buffer_; }
48 std::shared_ptr<IonBuffer> buffer_;
H A Dbufferhub_rpc.h21 NativeBufferHandle(const IonBuffer& buffer, int id)
43 // Imports the native handle into the given IonBuffer instance.
44 int Import(IonBuffer* buffer) {
59 // IonBuffer and clear members.
/frameworks/native/libs/vr/libbufferhub/
H A Dion_buffer.cpp18 IonBuffer::IonBuffer() : IonBuffer(nullptr, 0, 0, 0, 0, 0, 0) {} function in class:android::dvr::IonBuffer
20 IonBuffer::IonBuffer(uint32_t width, uint32_t height, uint32_t format, function in class:android::dvr::IonBuffer
22 : IonBuffer() {
26 IonBuffer::IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height, function in class:android::dvr::IonBuffer
28 : IonBuffer(handle, width, height, kDefaultGraphicBufferLayerCount, stride,
31 IonBuffer function in class:android::dvr::IonBuffer
52 IonBuffer::IonBuffer(IonBuffer&& other) : IonBuffer() { function in class:android::dvr::IonBuffer
[all...]
H A Dbuffer_hub_client.cpp63 IonBuffer ion_buffer;
/frameworks/native/libs/vr/libdvr/
H A Ddvr_internal.h24 class IonBuffer;
28 const std::shared_ptr<IonBuffer>& ion_buffer);
56 std::shared_ptr<android::dvr::IonBuffer> buffer;
H A Ddvr_buffer.cpp15 const std::shared_ptr<IonBuffer>& ion_buffer) {
/frameworks/native/libs/vr/libdisplay/include/private/dvr/
H A Ddisplay_manager_client.h14 class IonBuffer;
24 pdx::Status<std::unique_ptr<IonBuffer>> SetupNamedBuffer(
H A Ddisplay_client.h70 pdx::Status<std::unique_ptr<IonBuffer>> GetNamedBuffer(
/frameworks/native/libs/vr/libdisplay/
H A Ddisplay_manager_client.cpp35 pdx::Status<std::unique_ptr<IonBuffer>> DisplayManagerClient::SetupNamedBuffer(
47 auto ion_buffer = std::make_unique<IonBuffer>();
H A Ddisplay_client.cpp179 Status<std::unique_ptr<IonBuffer>> DisplayClient::GetNamedBuffer(
190 auto ion_buffer = std::make_unique<IonBuffer>();
/frameworks/native/libs/vr/libvrflinger/
H A Dhardware_composer.h83 void Setup(const std::shared_ptr<IonBuffer>& buffer, HWC::BlendMode blending,
87 // Layers that use a direct IonBuffer should call this each frame to update
89 void UpdateBuffer(const std::shared_ptr<IonBuffer>& buffer);
110 // Gets the current IonBuffer associated with this layer. Ownership of the
114 IonBuffer* GetBuffer();
184 IonBuffer* GetBuffer() {
198 std::shared_ptr<IonBuffer> buffer;
210 IonBuffer* GetBuffer() { return buffer.get(); }
H A Ddisplay_service.h116 std::unordered_map<std::string, std::unique_ptr<IonBuffer>> named_buffers_;
H A Dhardware_composer.cpp970 void Layer::Setup(const std::shared_ptr<IonBuffer>& buffer,
983 void Layer::UpdateBuffer(const std::shared_ptr<IonBuffer>& buffer) {
991 IonBuffer* Layer::GetBuffer() {
993 IonBuffer* operator()(SourceSurface& source) { return source.GetBuffer(); }
994 IonBuffer* operator()(SourceBuffer& source) { return source.GetBuffer(); }
995 IonBuffer* operator()(EmptyVariant) { return nullptr; }
H A Ddisplay_service.cpp228 auto ion_buffer = std::make_unique<IonBuffer>(static_cast<int>(size), 1,
/frameworks/native/services/vr/bufferhubd/
H A Dproducer_channel.h75 IonBuffer buffer_;

Completed in 265 milliseconds