#include "ui/ozone/platform/wayland/host/wayland_buffer_backing_dmabuf.h"
#include "ui/ozone/platform/wayland/host/wayland_buffer_factory.h"
#include "ui/ozone/platform/wayland/host/wayland_connection.h"
namespace ui {
WaylandBufferBackingDmabuf::WaylandBufferBackingDmabuf(
const WaylandConnection* connection,
base::ScopedFD fd,
const gfx::Size& size,
std::vector<uint32_t> strides,
std::vector<uint32_t> offsets,
std::vector<uint64_t> modifiers,
uint32_t format,
uint32_t planes_count,
uint32_t buffer_id)
: … { … }
WaylandBufferBackingDmabuf::~WaylandBufferBackingDmabuf() = default;
void WaylandBufferBackingDmabuf::RequestBufferHandle(
base::OnceCallback<void(wl::Object<wl_buffer>)> callback) { … }
WaylandBufferBacking::BufferBackingType
WaylandBufferBackingDmabuf::GetBackingType() const { … }
}