chromium/ui/gl/gl_surface_egl_x11.cc

// Copyright 2020 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/gl/gl_surface_egl_x11.h"

#include "base/containers/contains.h"
#include "ui/base/x/x11_util.h"
#include "ui/base/x/x11_xrandr_interval_only_vsync_provider.h"
#include "ui/gfx/frame_data.h"
#include "ui/gfx/x/connection.h"
#include "ui/gfx/x/visual_manager.h"
#include "ui/gfx/x/xproto.h"
#include "ui/gl/egl_util.h"

namespace gl {

NativeViewGLSurfaceEGLX11::NativeViewGLSurfaceEGLX11(GLDisplayEGL* display,
                                                     x11::Window window)
    :{}

bool NativeViewGLSurfaceEGLX11::Initialize(GLSurfaceFormat format) {}

void NativeViewGLSurfaceEGLX11::Destroy() {}

gfx::SwapResult NativeViewGLSurfaceEGLX11::SwapBuffers(
    PresentationCallback callback,
    gfx::FrameData data) {}

EGLint NativeViewGLSurfaceEGLX11::GetNativeVisualID() const {}

NativeViewGLSurfaceEGLX11::~NativeViewGLSurfaceEGLX11() {}

x11::Connection* NativeViewGLSurfaceEGLX11::GetXNativeConnection() const {}

std::unique_ptr<gfx::VSyncProvider>
NativeViewGLSurfaceEGLX11::CreateVsyncProviderInternal() {}

void NativeViewGLSurfaceEGLX11::OnEvent(const x11::Event& x11_event) {}

}  // namespace gl