Summary: We had a few places (e.g. DebugConsole, Platform) where the Scene was cased into a SceneOpenGL to access the backend and get the extensions. This change simplifies that by adding a virtual method to Scene directly which is implemented in SceneOpenGL and returns the backend's extensions. Thus the casts to SceneOpenGL are no longer required. Test Plan: Opened debug console to verify extensions are listed, triggered Outline to verify the sharing QPA context gets created. Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D7734remotes/origin/Plasma/5.11
parent
23eaed2f83
commit
8015e4e84e
6 changed files with 26 additions and 8 deletions
Loading…
Reference in new issue