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

GL context creation value of single buffered value ignored in context creation under EGL but Qt internals mark the surface is single buffered

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 4.7.2
    • 4.6.3
    • GUI: OpenGL
    • None
    • 4e781b65c60c6bdf0917fe9983a4f1e699643e55

      EGL context creation ignores the single/double buffering value. EGL allow the creation of single buffered EGLsurfaces, see section 3.5.1 of the EGL specification (http://www.khronos.org/registry/egl/specs/eglspec.1.4.20100721.pdf). The guilty file in qt is src/gui/egl/qegl.cpp

      The effects of this are that internals of Qt do allow partial updates on GL surfaces if the surface is single buffered and auto-fill background is disabled, see src/gui/painting/qbackingstore.cpp for details.

      As such, under GLES2 environment requesting a single buffered context, Qt internals think the context is single buffered, but in reality it is not and render results are BAD.

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

            kjernase Trond Kjernåsen (Inactive)
            kevin.rogovin Kevin Rogovin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes