chromium/ui/ozone/platform/wayland/host/wayland_shm.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/ozone/platform/wayland/host/wayland_shm.h"

#include "base/logging.h"
#include "ui/ozone/platform/wayland/host/wayland_buffer_factory.h"
#include "ui/ozone/platform/wayland/host/wayland_connection.h"

namespace ui {

namespace {
constexpr uint32_t kMinVersion =;
}  // namespace

// static
constexpr char WaylandShm::kInterfaceName[];

// static
void WaylandShm::Instantiate(WaylandConnection* connection,
                             wl_registry* registry,
                             uint32_t name,
                             const std::string& interface,
                             uint32_t version) {}

WaylandShm::WaylandShm(wl_shm* shm, WaylandConnection* connection)
    :{}

WaylandShm::~WaylandShm() = default;

wl::Object<wl_buffer> WaylandShm::CreateBuffer(const base::ScopedFD& fd,
                                               size_t length,
                                               const gfx::Size& size,
                                               bool with_alpha_channel) {}

}  // namespace ui