Drop kwineglext.h
EGL_WL_bind_wayland_display definitions are needed only in one cpp file, so move them there instead. We need to duplicate EGL_WL_bind_wayland_display definitions because libepoxy doesn't define them for us.
This commit is contained in:
parent
43b7d2e457
commit
17f4cde9af
2 changed files with 10 additions and 24 deletions
|
@ -5,7 +5,6 @@
|
|||
*/
|
||||
|
||||
#include "platformsupport/scenes/opengl/basiceglsurfacetexture_wayland.h"
|
||||
#include "kwineglext.h"
|
||||
#include "libkwineffects/kwingltexture.h"
|
||||
#include "platformsupport/scenes/opengl/abstract_egl_backend.h"
|
||||
#include "scene/surfaceitem_wayland.h"
|
||||
|
@ -14,6 +13,16 @@
|
|||
#include "wayland/linuxdmabufv1clientbuffer.h"
|
||||
#include "wayland/shmclientbuffer.h"
|
||||
|
||||
#ifndef EGL_WL_bind_wayland_display
|
||||
#define EGL_WAYLAND_BUFFER_WL 0x31D5
|
||||
#define EGL_WAYLAND_PLANE_WL 0x31D6
|
||||
#define EGL_TEXTURE_Y_U_V_WL 0x31D7
|
||||
#define EGL_TEXTURE_Y_UV_WL 0x31D8
|
||||
#define EGL_TEXTURE_Y_XUXV_WL 0x31D9
|
||||
#define EGL_TEXTURE_EXTERNAL_WL 0x31DA
|
||||
#define EGL_WAYLAND_Y_INVERTED_WL 0x31DB
|
||||
#endif // EGL_WL_bind_wayland_display
|
||||
|
||||
namespace KWin
|
||||
{
|
||||
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
/*
|
||||
KWin - the KDE window manager
|
||||
This file is part of the KDE project.
|
||||
|
||||
SPDX-FileCopyrightText: 2018 Fredrik Höglund <fredrik@kde.org>
|
||||
SPDX-FileCopyrightText: 2020 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <EGL/eglext.h>
|
||||
|
||||
#ifndef EGL_WL_bind_wayland_display
|
||||
#define EGL_WAYLAND_BUFFER_WL 0x31D5
|
||||
#define EGL_WAYLAND_PLANE_WL 0x31D6
|
||||
#define EGL_TEXTURE_Y_U_V_WL 0x31D7
|
||||
#define EGL_TEXTURE_Y_UV_WL 0x31D8
|
||||
#define EGL_TEXTURE_Y_XUXV_WL 0x31D9
|
||||
#define EGL_TEXTURE_EXTERNAL_WL 0x31DA
|
||||
#define EGL_WAYLAND_Y_INVERTED_WL 0x31DB
|
||||
#endif // EGL_WL_bind_wayland_display
|
Loading…
Reference in a new issue