kwin/plugins/platforms
Martin Gräßlin d1de6899fd Move querying the egl extensions into the AbstractEglBackend
Summary:
Instead of having the egl extensions in the global kwinglutils lib it
becomes private to the AbstractEglBackend. Just like on glx the
glxextensions are moved into the platform.

The extensions are queried from initEglAPI, that is as early as possible
after initializing the EGLDisplay. This ensures that any implementing
subclass can access the extensions early enough.

As a note: the EglOnXBackend had a potentially wrong sequence for
initializing the buffer age extension. It is now moved to the correct
place where the result is needed for the first time.

From the global API eglExtensions are removed from hasGLExtension and
the eglExtensions function is dropped. As by that initEGL did not do
anything it is also dropped.

Test Plan:
Tested nested kwin on Wayland, still works, extensions shown
in debug console

Reviewers: #kwin, #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D3396
2016-11-17 13:00:29 +01:00
..
drm Remove unused method 2016-11-16 14:19:36 +00:00
fbdev SVN_SILENT made messages (.desktop file) - always resolve ours 2016-11-04 09:48:38 +00:00
hwcomposer SVN_SILENT made messages (.desktop file) - always resolve ours 2016-11-04 09:48:38 +00:00
virtual Convert virtual backend to per screen rendering 2016-11-11 12:56:54 +00:00
wayland SVN_SILENT made messages (.desktop file) - always resolve ours 2016-11-04 09:48:38 +00:00
x11 Move querying the egl extensions into the AbstractEglBackend 2016-11-17 13:00:29 +01:00
CMakeLists.txt Move the x11 plugin sources into a x11/windowed directory 2016-04-12 08:04:16 +02:00