Drop EglDisplay::supportsSwapBuffersWithDamage()
It's unused.
This commit is contained in:
parent
920165c187
commit
00e536f22a
2 changed files with 0 additions and 8 deletions
|
@ -78,7 +78,6 @@ EglDisplay::EglDisplay(::EGLDisplay display, const QList<QByteArray> &extensions
|
|||
, m_extensions(extensions)
|
||||
, m_owning(owning)
|
||||
, 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_importFormats(queryImportFormats())
|
||||
{
|
||||
|
@ -159,11 +158,6 @@ bool EglDisplay::supportsBufferAge() const
|
|||
return m_supportsBufferAge;
|
||||
}
|
||||
|
||||
bool EglDisplay::supportsSwapBuffersWithDamage() const
|
||||
{
|
||||
return m_supportsSwapBuffersWithDamage;
|
||||
}
|
||||
|
||||
bool EglDisplay::supportsNativeFence() const
|
||||
{
|
||||
return m_supportsNativeFence;
|
||||
|
|
|
@ -34,7 +34,6 @@ public:
|
|||
QString renderNode() const;
|
||||
|
||||
bool supportsBufferAge() const;
|
||||
bool supportsSwapBuffersWithDamage() const;
|
||||
bool supportsNativeFence() const;
|
||||
QHash<uint32_t, QList<uint64_t>> supportedDrmFormats() const;
|
||||
|
||||
|
@ -50,7 +49,6 @@ private:
|
|||
const bool m_owning;
|
||||
|
||||
const bool m_supportsBufferAge;
|
||||
const bool m_supportsSwapBuffersWithDamage;
|
||||
const bool m_supportsNativeFence;
|
||||
const QHash<uint32_t, QList<uint64_t>> m_importFormats;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue