[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:
parent
5d3e15ff3a
commit
dcf7f40c18
3 changed files with 0 additions and 7 deletions
|
@ -76,7 +76,6 @@ void initEGL()
|
||||||
dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY);
|
dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY);
|
||||||
const QByteArray string = eglQueryString(dpy, EGL_EXTENSIONS);
|
const QByteArray string = eglQueryString(dpy, EGL_EXTENSIONS);
|
||||||
s_eglExtensions = string.split(' ');
|
s_eglExtensions = string.split(' ');
|
||||||
eglResolveFunctions();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void initGL(std::function<resolveFuncPtr(const char*)> resolveFunction)
|
void initGL(std::function<resolveFuncPtr(const char*)> resolveFunction)
|
||||||
|
|
|
@ -40,10 +40,6 @@ glGetGraphicsResetStatus_func glGetGraphicsResetStatus;
|
||||||
glReadnPixels_func glReadnPixels;
|
glReadnPixels_func glReadnPixels;
|
||||||
glGetnUniformfv_func glGetnUniformfv;
|
glGetnUniformfv_func glGetnUniformfv;
|
||||||
|
|
||||||
void eglResolveFunctions()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void glResolveFunctions(std::function<resolveFuncPtr(const char*)> resolveFunction)
|
void glResolveFunctions(std::function<resolveFuncPtr(const char*)> resolveFunction)
|
||||||
{
|
{
|
||||||
const bool haveArbRobustness = hasGLExtension(QByteArrayLiteral("GL_ARB_robustness"));
|
const bool haveArbRobustness = hasGLExtension(QByteArrayLiteral("GL_ARB_robustness"));
|
||||||
|
|
|
@ -48,8 +48,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
namespace KWin
|
namespace KWin
|
||||||
{
|
{
|
||||||
|
|
||||||
void KWINGLUTILS_EXPORT eglResolveFunctions();
|
|
||||||
|
|
||||||
typedef void (*resolveFuncPtr)();
|
typedef void (*resolveFuncPtr)();
|
||||||
void KWINGLUTILS_EXPORT glResolveFunctions(std::function<resolveFuncPtr(const char*)> resolveFunction);
|
void KWINGLUTILS_EXPORT glResolveFunctions(std::function<resolveFuncPtr(const char*)> resolveFunction);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue