chromium/ui/ozone/platform/x11/x11_canvas_surface.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/x11/x11_canvas_surface.h"

#include "base/functional/bind.h"
#include "third_party/skia/include/core/SkCanvas.h"
#include "third_party/skia/include/core/SkImageInfo.h"
#include "ui/base/x/x11_display_util.h"
#include "ui/base/x/x11_xrandr_interval_only_vsync_provider.h"
#include "ui/gfx/vsync_provider.h"
#include "ui/gfx/x/connection.h"

namespace ui {

X11CanvasSurface::X11CanvasSurface(gfx::AcceleratedWidget widget)
    :{}

X11CanvasSurface::~X11CanvasSurface() = default;

SkCanvas* X11CanvasSurface::GetCanvas() {}

void X11CanvasSurface::ResizeCanvas(const gfx::Size& viewport_size,
                                    float scale) {}

void X11CanvasSurface::PresentCanvas(const gfx::Rect& damage) {}

std::unique_ptr<gfx::VSyncProvider> X11CanvasSurface::CreateVSyncProvider() {}

bool X11CanvasSurface::SupportsAsyncBufferSwap() const {}

void X11CanvasSurface::OnSwapBuffers(SwapBuffersCallback swap_ack_callback,
                                     gfx::FrameData data) {}

int X11CanvasSurface::MaxFramesPending() const {}

}  // namespace ui