[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
This commit is contained in:
Martin Gräßlin 2016-11-16 18:46:10 +01:00
parent 5d3e15ff3a
commit dcf7f40c18
3 changed files with 0 additions and 7 deletions

View file

@ -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<resolveFuncPtr(const char*)> resolveFunction)

View file

@ -40,10 +40,6 @@ glGetGraphicsResetStatus_func glGetGraphicsResetStatus;
glReadnPixels_func glReadnPixels;
glGetnUniformfv_func glGetnUniformfv;
void eglResolveFunctions()
{
}
void glResolveFunctions(std::function<resolveFuncPtr(const char*)> resolveFunction)
{
const bool haveArbRobustness = hasGLExtension(QByteArrayLiteral("GL_ARB_robustness"));

View file

@ -48,8 +48,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
namespace KWin
{
void KWINGLUTILS_EXPORT eglResolveFunctions();
typedef void (*resolveFuncPtr)();
void KWINGLUTILS_EXPORT glResolveFunctions(std::function<resolveFuncPtr(const char*)> resolveFunction);