Drop EglDisplay::supportsSwapBuffersWithDamage()

It's unused.
This commit is contained in:
Vlad Zahorodnii 2023-05-10 11:34:19 +03:00
parent 920165c187
commit 00e536f22a
2 changed files with 0 additions and 8 deletions

View file

@ -78,7 +78,6 @@ EglDisplay::EglDisplay(::EGLDisplay display, const QList<QByteArray> &extensions
, m_extensions(extensions) , m_extensions(extensions)
, m_owning(owning) , m_owning(owning)
, m_supportsBufferAge(extensions.contains(QByteArrayLiteral("EGL_EXT_buffer_age")) && qgetenv("KWIN_USE_BUFFER_AGE") != "0") , m_supportsBufferAge(extensions.contains(QByteArrayLiteral("EGL_EXT_buffer_age")) && qgetenv("KWIN_USE_BUFFER_AGE") != "0")
, m_supportsSwapBuffersWithDamage(extensions.contains(QByteArrayLiteral("EGL_EXT_swap_buffers_with_damage")))
, m_supportsNativeFence(extensions.contains(QByteArrayLiteral("EGL_ANDROID_native_fence_sync"))) , m_supportsNativeFence(extensions.contains(QByteArrayLiteral("EGL_ANDROID_native_fence_sync")))
, m_importFormats(queryImportFormats()) , m_importFormats(queryImportFormats())
{ {
@ -159,11 +158,6 @@ bool EglDisplay::supportsBufferAge() const
return m_supportsBufferAge; return m_supportsBufferAge;
} }
bool EglDisplay::supportsSwapBuffersWithDamage() const
{
return m_supportsSwapBuffersWithDamage;
}
bool EglDisplay::supportsNativeFence() const bool EglDisplay::supportsNativeFence() const
{ {
return m_supportsNativeFence; return m_supportsNativeFence;

View file

@ -34,7 +34,6 @@ public:
QString renderNode() const; QString renderNode() const;
bool supportsBufferAge() const; bool supportsBufferAge() const;
bool supportsSwapBuffersWithDamage() const;
bool supportsNativeFence() const; bool supportsNativeFence() const;
QHash<uint32_t, QList<uint64_t>> supportedDrmFormats() const; QHash<uint32_t, QList<uint64_t>> supportedDrmFormats() const;
@ -50,7 +49,6 @@ private:
const bool m_owning; const bool m_owning;
const bool m_supportsBufferAge; const bool m_supportsBufferAge;
const bool m_supportsSwapBuffersWithDamage;
const bool m_supportsNativeFence; const bool m_supportsNativeFence;
const QHash<uint32_t, QList<uint64_t>> m_importFormats; const QHash<uint32_t, QList<uint64_t>> m_importFormats;
}; };