#include "ui/gfx/linux/native_pixmap_dmabuf.h"
#include <utility>
#include "base/posix/eintr_wrapper.h"
namespace gfx {
NativePixmapDmaBuf::NativePixmapDmaBuf(const gfx::Size& size,
gfx::BufferFormat format,
gfx::NativePixmapHandle handle)
: … { … }
NativePixmapDmaBuf::~NativePixmapDmaBuf() { … }
bool NativePixmapDmaBuf::AreDmaBufFdsValid() const { … }
int NativePixmapDmaBuf::GetDmaBufFd(size_t plane) const { … }
uint32_t NativePixmapDmaBuf::GetDmaBufPitch(size_t plane) const { … }
size_t NativePixmapDmaBuf::GetDmaBufOffset(size_t plane) const { … }
size_t NativePixmapDmaBuf::GetDmaBufPlaneSize(size_t plane) const { … }
uint64_t NativePixmapDmaBuf::GetBufferFormatModifier() const { … }
gfx::BufferFormat NativePixmapDmaBuf::GetBufferFormat() const { … }
size_t NativePixmapDmaBuf::GetNumberOfPlanes() const { … }
bool NativePixmapDmaBuf::SupportsZeroCopyWebGPUImport() const { … }
gfx::Size NativePixmapDmaBuf::GetBufferSize() const { … }
uint32_t NativePixmapDmaBuf::GetUniqueId() const { … }
bool NativePixmapDmaBuf::ScheduleOverlayPlane(
gfx::AcceleratedWidget widget,
const gfx::OverlayPlaneData& overlay_plane_data,
std::vector<gfx::GpuFence> acquire_fences,
std::vector<gfx::GpuFence> release_fences) { … }
gfx::NativePixmapHandle NativePixmapDmaBuf::ExportHandle() const { … }
}