1. 06 Nov, 2019 1 commit
    • Olivier Fourdan's avatar
      xwayland: make context current to check GL version · a506b4ec
      Olivier Fourdan authored
      `glGetString(GL_VERSION)` will return NULL without a current context.
      
      Commit dabc7d8b (“xwayland: Fall back to GLES2 if we don't get at least
      GL 2.1 in glamor”) would check the context is created, but it is made
      current just after, so the call to `epoxy_gl_version()` would return 0,
      hence defeating the version check.
      
      Make the context current prior to call `epoxy_gl_version()`.
      
      Fixes: dabc7d8b - xwayland: Fall back to GLES2 if we don't get at least
                        GL 2.1 in glamor
      Closes: #932
      !324
      
      Signed-off-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
      a506b4ec
  2. 05 Nov, 2019 1 commit
  3. 04 Nov, 2019 1 commit
    • Hans de Goede's avatar
      glamor/xwayland: Define EGL_NO_X11 · 741bd734
      Hans de Goede authored
      
      
      Define EGL_NO_X11 everywhere were we also define MESA_EGL_NO_X11_HEADERS,
      EGL_NO_X11 is the MESA_EGL_NO_X11_HEADERS equivalent for the egl headers
      shipped with libglvnd.
      
      This fixes the xserver not building with the libglvnd-1.2.0 headers:
      
      In file included from /usr/include/EGL/eglplatform.h:128,
                       from /usr/include/epoxy/egl_generated.h:11,
                       from /usr/include/epoxy/egl.h:46,
                       from glamor_priv.h:43,
                       from glamor_composite_glyphs.c:25:
      /usr/include/X11/Xlib.h:222:2: error: conflicting types for 'GC'
        222 | *GC;
            |  ^~
      In file included from glamor.h:34,
                       from glamor_priv.h:32,
                       from glamor_composite_glyphs.c:25:
      ../include/gcstruct.h:282:3: note: previous declaration of 'GC' was here
        282 | } GC;
            |   ^~
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      741bd734
  4. 30 Oct, 2019 18 commits
  5. 29 Oct, 2019 2 commits
  6. 26 Oct, 2019 1 commit
  7. 23 Oct, 2019 1 commit
  8. 16 Oct, 2019 1 commit
  9. 15 Oct, 2019 8 commits
  10. 14 Oct, 2019 1 commit
  11. 12 Oct, 2019 5 commits