<table><tr><td style="">graesslin created this revision.<br />graesslin added reviewers: KWin, Plasma.<br />Restricted Application added a project: KWin.<br />Restricted Application added subscribers: kwin, plasma-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D3396" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Instead of having the egl extensions in the global kwinglutils lib it<br />
becomes private to the AbstractEglBackend. Just like on glx the<br />
glxextensions are moved into the platform.</p>
<p>The extensions are queried from initEglAPI, that is as early as possible<br />
after initializing the EGLDisplay. This ensures that any implementing<br />
subclass can access the extensions early enough.</p>
<p>As a note: the EglOnXBackend had a potentially wrong sequence for<br />
initializing the buffer age extension. It is now moved to the correct<br />
place where the result is needed for the first time.</p>
<p>From the global API eglExtensions are removed from hasGLExtension and<br />
the eglExtensions function is dropped. As by that initEGL did not do<br />
anything it is also dropped.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Tested nested kwin on Wayland, still works, extensions shown<br />
in debug console</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rKWIN KWin</div></div></div><br /><div><strong>BRANCH</strong><div><div>drop-init-egl</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D3396" rel="noreferrer">https://phabricator.kde.org/D3396</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>abstract_egl_backend.cpp<br />
debug_console.cpp<br />
libkwineffects/kwinglutils.cpp<br />
libkwineffects/kwinglutils.h<br />
platform.cpp<br />
plugins/platforms/x11/common/eglonxbackend.cpp</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>graesslin, KWin, Plasma<br /><strong>Cc: </strong>plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas<br /></div>