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

// Copyright 2023 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/single_pixel_buffer.h"

#include <single-pixel-buffer-v1-client-protocol.h>
#include <wayland-util.h>

#include "base/logging.h"
#include "ui/ozone/platform/wayland/common/wayland_object.h"
#include "ui/ozone/platform/wayland/common/wayland_util.h"
#include "ui/ozone/platform/wayland/host/wayland_connection.h"

namespace ui {

namespace {
constexpr uint32_t kVersion =;
}

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

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

SinglePixelBuffer::SinglePixelBuffer(
    wp_single_pixel_buffer_manager_v1* single_pixel_buffer,
    WaylandConnection* connection)
    :{}

SinglePixelBuffer::~SinglePixelBuffer() = default;

wl::Object<wl_buffer> SinglePixelBuffer::CreateSinglePixelBuffer(
    const SkColor4f& color) {}

}  // namespace ui