Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-101044

Seems no way to share EGLContext beween qt and android native java.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.2.3
    • GUI: OpenGL
    • None
    • Android

    Description

      In some scene we need share opengl context, for example, show offscreen buffer on native android window.   Now I get the EGLContext with 

      //代码占位符
          QEGLPlatformContext* aa = (QEGLPlatformContext*)m_context->handle();
          EGLContext eglContext = aa->eglContext();
      

      in QT, it seems no way to create shared opengl es context with eglCreateContext(display, eglConfig, eglContext, attrib_list) In native java code.

      Solutions: see comments.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            kleinlee1 klein lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes