Commit 259dedfc authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

core: Use less confusing name for Platform::supportsQpaContext()

Platform::supportsQpaContext() indicates if the EGL display supports
surfaceless contexts, so reflect that in the method name.

(cherry picked from commit 29fbe27f)
parent 7d327d0b
......@@ -413,7 +413,7 @@ void Platform::warpPointer(const QPointF &globalPos)
bool Platform::supportsQpaContext() const
bool Platform::supportsSurfacelessContext() const
if (Compositor *c = Compositor::self()) {
return c->scene()->supportsSurfacelessContext();
......@@ -100,7 +100,7 @@ public:
* Whether our Compositing EGL display allows a surface less context
* so that a sharing context could be created.
virtual bool supportsQpaContext() const;
bool supportsSurfacelessContext() const;
* The EGLDisplay used by the compositing scene.
......@@ -146,7 +146,7 @@ void Window::unmap()
EGLSurface Window::eglSurface() const
if (kwinApp()->platform()->supportsQpaContext()) {
if (kwinApp()->platform()->supportsSurfacelessContext()) {
return kwinApp()->platform()->sceneEglSurface();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment