#include "ui/ozone/platform/x11/gl_egl_utility_x11.h"
#include "ui/base/x/x11_gl_egl_utility.h"
#include "ui/base/x/x11_util.h"
#include "ui/gfx/gpu_extra_info.h"
#include "ui/gfx/linux/gpu_memory_buffer_support_x11.h"
#include "ui/gl/gl_implementation.h"
#include "ui/gl/gl_utils.h"
namespace ui {
GLEGLUtilityX11::GLEGLUtilityX11() = default;
GLEGLUtilityX11::~GLEGLUtilityX11() = default;
void GLEGLUtilityX11::GetAdditionalEGLAttributes(
EGLenum platform_type,
std::vector<EGLAttrib>* display_attributes) { … }
void GLEGLUtilityX11::ChooseEGLAlphaAndBufferSize(EGLint* alpha_size,
EGLint* buffer_size) { … }
void GLEGLUtilityX11::CollectGpuExtraInfo(
bool enable_native_gpu_memory_buffers,
gfx::GpuExtraInfo& gpu_extra_info) const { … }
bool GLEGLUtilityX11::HasVisualManager() { … }
std::optional<base::ScopedEnvironmentVariableOverride>
GLEGLUtilityX11::MaybeGetScopedDisplayUnsetForVulkan() { … }
}