chromium/ui/ozone/platform/x11/native_pixmap_egl_x11_binding.h

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

#ifndef UI_OZONE_PLATFORM_X11_NATIVE_PIXMAP_EGL_X11_BINDING_H_
#define UI_OZONE_PLATFORM_X11_NATIVE_PIXMAP_EGL_X11_BINDING_H_

#include <memory>

#include "ui/gfx/native_pixmap.h"
#include "ui/gfx/x/connection.h"
#include "ui/gfx/x/glx.h"
#include "ui/ozone/public/native_pixmap_gl_binding.h"

EGLSurface;
EGLDisplay;

namespace ui {

// A binding maintained between NativePixmap and GL Textures in Ozone that works
// within the context of X11.
class NativePixmapEGLX11Binding : public NativePixmapGLBinding {};

}  // namespace ui

#endif  // UI_OZONE_PLATFORM_X11_NATIVE_PIXMAP_EGL_X11_BINDING_H_