diff options
Diffstat (limited to 'src/core/compositor/delegated_frame_node.cpp')
-rw-r--r-- | src/core/compositor/delegated_frame_node.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/core/compositor/delegated_frame_node.cpp b/src/core/compositor/delegated_frame_node.cpp index c20069558..de79ba514 100644 --- a/src/core/compositor/delegated_frame_node.cpp +++ b/src/core/compositor/delegated_frame_node.cpp @@ -142,9 +142,6 @@ private: #if defined(USE_OZONE) bool m_ownsTexture; #endif -#ifdef Q_OS_QNX - EGLStreamData m_eglStreamData; -#endif friend class DelegatedFrameNode; }; #endif // QT_CONFIG(opengl) @@ -467,20 +464,6 @@ void MailboxTexture::bind() if (m_fence) m_fence->wait(); glBindTexture(m_target, m_textureId); -#ifdef Q_OS_QNX - if (m_target == GL_TEXTURE_EXTERNAL_OES) { - static bool resolved = false; - static PFNEGLSTREAMCONSUMERACQUIREKHRPROC eglStreamConsumerAcquire = 0; - - if (!resolved) { - QOpenGLContext *context = QOpenGLContext::currentContext(); - eglStreamConsumerAcquire = (PFNEGLSTREAMCONSUMERACQUIREKHRPROC)context->getProcAddress("eglStreamConsumerAcquireKHR"); - resolved = true; - } - if (eglStreamConsumerAcquire) - eglStreamConsumerAcquire(m_eglStreamData.egl_display, m_eglStreamData.egl_str_handle); - } -#endif } #endif // QT_CONFIG(opengl) |