kwin/plugins/platforms/x11/standalone
Martin Gräßlin d7fa827644 Pass function ptr to resolve glFunctions to initGL
Summary:
KWin still resolves some OpenGL function pointers. For that it needs to
use either eglGetProcAddress or glxGetProcAddress. With other words the
method to resolve needs to know whether it is egl or glx and needs both
a dependency to egl and glx. Especially the dependency to glx is ugly as
that pulls in XLib into our library.

The way so far was to pass an enum value to the initGL method to know
whether it's EGL or GLX. With this change the enum value is removed and
replaced by a function pointer to resolve the methods.

This simplifies the resolve code and allows to completely remove the glx
variant we still had in the library. Thus kwinglutils library is now glx
and XLib free.

Test Plan: nested KWin with OpenGL/EGL still works

Reviewers: #kwin, #plasma_on_wayland

Subscribers: plasma-devel, kwin

Tags: #plasma_on_wayland, #kwin

Differential Revision: https://phabricator.kde.org/D3336
2016-11-16 17:59:26 +01:00
..
CMakeLists.txt Move X11Cursor into the x11standalone platform plugin 2016-08-19 10:57:09 +02:00
edge.cpp Create screen edge through the Platform 2016-04-19 13:29:55 +02:00
edge.h Create screen edge through the Platform 2016-04-19 13:29:55 +02:00
glxbackend.cpp Pass function ptr to resolve glFunctions to initGL 2016-11-16 17:59:26 +01:00
glxbackend.h Move resolving glxSwapIntervalMesa into platform plugin 2016-11-16 09:06:47 +01:00
logging.cpp [plugins/platforms] Dedicated logging category for X11 standalone platform 2016-04-12 14:48:54 +02:00
logging.h [plugins/platforms] Dedicated logging category for X11 standalone platform 2016-04-12 14:48:54 +02:00
screens_xrandr.cpp
screens_xrandr.h
x11.json SVN_SILENT made messages (.desktop file) - always resolve ours 2016-11-04 09:48:38 +00:00
x11_platform.cpp Add way to hide/show cursor in Platform 2016-10-31 11:46:50 +01:00
x11_platform.h Add way to hide/show cursor in Platform 2016-10-31 11:46:50 +01:00
x11cursor.cpp Move X11Cursor into the x11standalone platform plugin 2016-08-19 10:57:09 +02:00
x11cursor.h Move X11Cursor into the x11standalone platform plugin 2016-08-19 10:57:09 +02:00
xinputintegration.cpp Add event filter for key press/release events while KWin grabbed keyboard on root window 2016-10-10 16:59:06 +02:00
xinputintegration.h Add event filter for key press/release events while KWin grabbed keyboard on root window 2016-10-10 16:59:06 +02:00