#include "ui/ozone/platform/wayland/host/wayland_buffer_backing.h"
#include "base/check_op.h"
#include "ui/ozone/platform/wayland/host/wayland_buffer_handle.h"
#include "ui/ozone/platform/wayland/host/wayland_connection.h"
namespace ui {
WaylandBufferBacking::WaylandBufferBacking(const WaylandConnection* connection,
uint32_t buffer_id,
const gfx::Size& size,
uint32_t format)
: … { … }
WaylandBufferBacking::~WaylandBufferBacking() = default;
bool WaylandBufferBacking::UseExplicitSyncRelease() const { … }
WaylandBufferHandle* WaylandBufferBacking::EnsureBufferHandle(
WaylandSurface* requestor) { … }
WaylandBufferHandle* WaylandBufferBacking::GetBufferHandle(
WaylandSurface* requestor) { … }
}