From dcf7f40c18fb56ea592aa35cd5ca238d98d39fe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 16 Nov 2016 18:46:10 +0100 Subject: [PATCH] [kwinglutils] Drop eglResolveFunctions Summary: Method doesn't do anything. If at some point we want to resolve egl functions again, it should be done in the Platform, just like glxResolveFunctions is nowadays done in the platform. Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D3391 --- libkwineffects/kwinglutils.cpp | 1 - libkwineffects/kwinglutils_funcs.cpp | 4 ---- libkwineffects/kwinglutils_funcs.h | 2 -- 3 files changed, 7 deletions(-) diff --git a/libkwineffects/kwinglutils.cpp b/libkwineffects/kwinglutils.cpp index 50f57f0d9d..0221038a6b 100644 --- a/libkwineffects/kwinglutils.cpp +++ b/libkwineffects/kwinglutils.cpp @@ -76,7 +76,6 @@ void initEGL() dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); const QByteArray string = eglQueryString(dpy, EGL_EXTENSIONS); s_eglExtensions = string.split(' '); - eglResolveFunctions(); } void initGL(std::function resolveFunction) diff --git a/libkwineffects/kwinglutils_funcs.cpp b/libkwineffects/kwinglutils_funcs.cpp index 1c786f64cc..0ea13d9166 100644 --- a/libkwineffects/kwinglutils_funcs.cpp +++ b/libkwineffects/kwinglutils_funcs.cpp @@ -40,10 +40,6 @@ glGetGraphicsResetStatus_func glGetGraphicsResetStatus; glReadnPixels_func glReadnPixels; glGetnUniformfv_func glGetnUniformfv; -void eglResolveFunctions() -{ -} - void glResolveFunctions(std::function resolveFunction) { const bool haveArbRobustness = hasGLExtension(QByteArrayLiteral("GL_ARB_robustness")); diff --git a/libkwineffects/kwinglutils_funcs.h b/libkwineffects/kwinglutils_funcs.h index 43eee76c9e..30241af30e 100644 --- a/libkwineffects/kwinglutils_funcs.h +++ b/libkwineffects/kwinglutils_funcs.h @@ -48,8 +48,6 @@ along with this program. If not, see . namespace KWin { -void KWINGLUTILS_EXPORT eglResolveFunctions(); - typedef void (*resolveFuncPtr)(); void KWINGLUTILS_EXPORT glResolveFunctions(std::function resolveFunction);