Diffusion KWin e0f7f58397a6

Move SceneOpenGL into a dedicated plugin

Authored by graesslin on Sep 8 2017, 8:30 PM.

Description

Move SceneOpenGL into a dedicated plugin

Summary:
Unfortunately a rather large change which required more refactoring than
initially expected. The main problem was that some parts needed to go
into platformsupport so that the platform plugins can link them. Due to
the rather monolithic nature of scene_opengl.h a few changes were
required:

  • SceneOpenGL::Texture -> SceneOpenGLTexture
  • SceneOpenGL::TexturePrivate -> SceneOpenGLTexturePrivate
  • texture based code into dedicated files
  • SwapProfiler code into dedicated files
  • SwapProfiler only used in x11 variants
  • Safety checks for OpenGL scene moved into the new plugin
  • signal declared in SceneOpenGL moved to Scene, so that we don't need

to include SceneOpenGL in composite

Test Plan: Nested OpenGL compositor works

Reviewers: KWin, Plasma

Subscribers: plasma-devel, kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D7740

Details

Committed
graesslinSep 8 2017, 8:42 PM
Differential Revision
D7740: Move SceneOpenGL into a dedicated plugin
Parents
R108:db2ddec23d51: Add virtual method to Scene to get the EGL/GLX extensions
Branches
Unknown
Tags
Unknown
References
scene-opengl-plugin