1. 14 Feb, 2018 1 commit
    • Adam Jackson's avatar
      glx: Use vnd layer for dispatch (v4) · d8ec33fe
      Adam Jackson authored
      The big change here is MakeCurrent and context tag tracking. We now
      delegate context tags entirely to the vnd layer, and simply store a
      pointer to the context state as the tag data. If a context is deleted
      while it's current, we allocate a fake ID for the context and move the
      context state there, so the tag data still points to a real context. As
      a result we can stop trying so hard to detach the client from contexts
      at disconnect time and just let resource destruction handle it.
      
      Since vnd handles all the MakeCurrent protocol now, our request handlers
      for it can just be return BadImplementation. We also remove a bunch of
      LEGAL_NEW_RESOURCE, because now by the time we're called vnd has already
      allocated its tracking resource on that XID.
      
      v2: Update to match v2 of the vnd import, and remove more redundant work
      like request length checks.
      
      v3: Add/remove the XID map from the vendor private thunk, not the
      backend. (Kyle Brenneman)
      
      v4: Fix deletion of ghost contexts (Kyle Brenneman)
      Signed-off-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
      d8ec33fe
  2. 24 Jan, 2018 1 commit
    • Olivier Fourdan's avatar
      xwayland: Add optional xdg-output support · da8de2a7
      Olivier Fourdan authored
      The xdg-output protocol aims at describing outputs in way which is
      more in line with the concept of an output on desktop oriented systems.
      
      For now it just features the position and logical size which describe
      the output position and size in the global compositor space.
      
      This is however much useful for Xwayland to advertise the output size
      and position to X11 clients which need this to configure their surfaces
      in the global compositor space as the compositor may apply a different
      scale from what is advertised by the output scaling property (to achieve
      fractional scaling, for example).
      
      This was added in wayland-protocols 1.10.
      Reviewed-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
      Signed-off-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
      da8de2a7
  3. 01 Aug, 2017 1 commit
  4. 28 Apr, 2017 1 commit
  5. 27 Mar, 2017 1 commit
  6. 05 Oct, 2016 2 commits
  7. 16 Aug, 2016 1 commit
  8. 09 Mar, 2016 1 commit
  9. 29 Feb, 2016 1 commit
  10. 24 Mar, 2015 1 commit
  11. 05 Jan, 2015 1 commit
  12. 18 Sep, 2014 1 commit
  13. 24 Jun, 2014 1 commit
  14. 03 Apr, 2014 1 commit
    • Kristian H. Kristensen's avatar
      Xwayland DDX · 6e539d88
      Kristian H. Kristensen authored
      Started out as an Xorg module to be used from Xorg drivers to let
      Xorg run under a wayland server.  The idea was to be able to reuse the
      2D acceleration from the Xorg driver.  Now with glamor being credible,
      a better plan is to just make Xwayland its own DDX, similar to Xwin
      and Xquartz.  This is a much better fit, as much of the code in the
      original approach had to hack around Xorg doing Xorg things like take
      over the VT, probe input devices and read config files.  Another big win
      is that Xwayland dosn't need to be setuid root.
      
      The Xwayland support for DRI3, Glamor and render nodes was done by
      Axel Davy <axel.davy@ens.fr>, who also did a lot of work on the rebase
      to the Xwayland DDX.
      
      Contributions from:
      
        Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
        Corentin Chary <corentin.chary@gmail.com>
        Daniel Stone <daniel@fooishbar.org>
        Kristian Høgsberg <krh@bitplanet.net>
        Robert Bragg <robert@linux.intel.com>
        Scott Moreau <oreaus@gmail.com>
        Tiago Vignatti <tiago.vignatti@intel.com>
        Giovanni Campagna <gcampagn@redhat.com>
        Jonas Ådahl <jadahl@gmail.com>
        Ray Strode <rstrode@redhat.com>
        Trevor McCort <tjmccort@gmail.com>
        Rui Matos <tiagomatos@gmail.com>
        Axel Davy <axel.davy@ens.fr>
        Jasper St. Pierre <jstpierre@mecheye.net>
      Signed-off-by: Kristian H. Kristensen's avatarKristian Høgsberg <krh@bitplanet.net>
      Reviewed-by: Axel Davy's avatarAxel Davy <axel.davy@ens.fr>
      6e539d88