Remove some unused functions

Format querying logic has been moved to EglDisplay.
This commit is contained in:
Vlad Zahorodnii 2023-04-14 16:35:24 +03:00
parent b9ba12d02e
commit c8c021a780

View file

@ -30,11 +30,6 @@
namespace KWin
{
typedef EGLBoolean (*eglQueryDmaBufFormatsEXT_func)(EGLDisplay dpy, EGLint max_formats, EGLint *formats, EGLint *num_formats);
typedef EGLBoolean (*eglQueryDmaBufModifiersEXT_func)(EGLDisplay dpy, EGLint format, EGLint max_modifiers, EGLuint64KHR *modifiers, EGLBoolean *external_only, EGLint *num_modifiers);
eglQueryDmaBufFormatsEXT_func eglQueryDmaBufFormatsEXT = nullptr;
eglQueryDmaBufModifiersEXT_func eglQueryDmaBufModifiersEXT = nullptr;
static std::unique_ptr<EglContext> s_globalShareContext;
static bool isOpenGLES_helper()