2020-08-02 22:22:19 +00:00
|
|
|
/*
|
|
|
|
KWin - the KDE window manager
|
|
|
|
This file is part of the KDE project.
|
2017-06-26 04:56:55 +00:00
|
|
|
|
2020-08-02 22:22:19 +00:00
|
|
|
SPDX-FileCopyrightText: 2017 Martin Flöser <mgraesslin@kde.org>
|
2017-06-26 04:56:55 +00:00
|
|
|
|
2020-08-02 22:22:19 +00:00
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
2017-06-26 04:56:55 +00:00
|
|
|
#pragma once
|
|
|
|
#include "abstract_opengl_context_attribute_builder.h"
|
2017-07-16 15:31:09 +00:00
|
|
|
#include <kwin_export.h>
|
2017-06-26 04:56:55 +00:00
|
|
|
|
|
|
|
namespace KWin
|
|
|
|
{
|
|
|
|
|
2017-07-16 15:31:09 +00:00
|
|
|
class KWIN_EXPORT EglContextAttributeBuilder : public AbstractOpenGLContextAttributeBuilder
|
2017-06-26 04:56:55 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
std::vector<int> build() const override;
|
|
|
|
};
|
|
|
|
|
2017-07-16 15:31:09 +00:00
|
|
|
class KWIN_EXPORT EglOpenGLESContextAttributeBuilder : public AbstractOpenGLContextAttributeBuilder
|
2017-06-26 04:56:55 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
std::vector<int> build() const override;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|