1. 18 Dec, 2018 2 commits
  2. 09 Dec, 2018 2 commits
  3. 05 Nov, 2018 1 commit
  4. 30 Oct, 2018 2 commits
    • Tomohito Esaki's avatar
      Add remoting plugin for output streaming · f709d220
      Tomohito Esaki authored
      Remoting plugin support streaming image of virtual output on drm-backend
      to remote output. By appending remote-output section in weston.ini,
      weston loads remoting plugin module and creates virtual outputs via
      remoting plugin. The mode, host, and port properties are configurable in
      remote-output section.
      This plugin send motion jpeg images to client via RTP using gstreamer.
      Client can receive by using following pipeline of gst-launch.
      gst-launch-1.0 rtpbin name=rtpbin \
         udpsrc caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,
      		encoding-name=JPEG,payload=26" port=[PORTNUMBER] !
                rtpbin.recv_rtp_sink_0 \
         rtpbin. ! rtpjpegdepay ! jpegdec ! autovideosink \
         udpsrc port=[PORTNUMBER+1] ! rtpbin.recv_rtcp_sink_0 \
         rtpbin.send_rtcp_src_0 !
                udpsink port=[PORTNUMBER+2] sync=false async=false
      where, PORTNUMBER is specified in weston.ini.
      Signed-off-by: Tomohito Esaki's avatarTomohito Esaki <etom@igel.co.jp>
    • Tomohito Esaki's avatar
      weston: Add set up SIGUSR1 blocking early using pthread_sigmask() · f59dc111
      Tomohito Esaki authored
      Xwayland block SIGUSR1 signal for handling this signal. However, if some
      weston plugins creates additional threads before xwayland is loaded,
      this signal get delivered these threads and causes weston quit.
      Therefore, we should set up SIGUSR1 blocking early so that these threads
      can inherit the setting when created.
      Signed-off-by: Tomohito Esaki's avatarTomohito Esaki <etom@igel.co.jp>
  5. 17 Sep, 2018 3 commits
  6. 11 Sep, 2018 1 commit
  7. 27 Aug, 2018 1 commit
  8. 07 Aug, 2018 1 commit
  9. 06 Aug, 2018 1 commit
  10. 22 Jul, 2018 1 commit
  11. 20 Jun, 2018 1 commit
  12. 13 Jun, 2018 1 commit
  13. 30 May, 2018 4 commits
    • Pekka Paalanen's avatar
      doc: add example calibration-helper script · bfaaedc9
      Pekka Paalanen authored
      This is not to be installed, except maybe as a doc. It is just an
      example of what one might do.  It also has not been tested, it's just
      for giving an idea of what it should do.
      It also contains untested speculation.
      - use syspath instead of devpath
      - add license blurb
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      Reviewed-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
    • Louis-Francis Ratté-Boulianne's avatar
      clients: add a new touchscreen calibrator · b79dead1
      Louis-Francis Ratté-Boulianne authored and Pekka Paalanen's avatar Pekka Paalanen committed
      The new calibrator uses weston_touch_calibration protocol extension and
      provides the following features:
      - chooses the physical touch device to be calibrated by DEVPATH or by
        the output/head name; device enumeration provided
      - the compositor ensures the calibrator window is shown in the correct
        position and size
      - no matter how wrong the old calibration is, the touch events will
        always arrive in the application
      - the calibration is complete, not incremental; the received touch
        events are guaranteed to be unmodified
      - computes a libinput style calibration matrix directly, not the
        WL_CALIBRATION format
      - supports multiple touch devices: calibrate one device at a time, and
        show user feedback on touching a wrong device instead of recording bad
      - uses four touch point samples: three to compute the calibration, and
        one to verify the calibration is roughly correct
      - consistent exit codes
      - upload the new calibration into the server after suc...
    • Louis-Francis Ratté-Boulianne's avatar
      libweston: implement touch calibration protocol · 83630983
      Louis-Francis Ratté-Boulianne authored and Pekka Paalanen's avatar Pekka Paalanen committed
      This implements a new global interface weston_touch_calibration, which
      allows one client at a time to perform touchscreen calibration. This
      also implements the calibrator window management.
      A client asks to calibrate a specific physical touch device (not a
      wl_seat which may have several physical touch devices aggregated).
      Libweston grabs all touch devices and prevents normal touch event
      handling during the calibation sequence.
      API is added to enable this new global interface, but it not yet called
      by anything. Since the implementation allows clients to grab touch devices
      arbitrarily, it is not enabled by default. The compositor should take
      measures to prevent unexpected access to the interface.
      A client may upload a new calibration to the compositor. There is a
      vfunc to allow the compositor to reject/accept it and save it to
      persistent storage. The persistent storage could be a udev rule
      setting LIBINPUT_CALIBRATION_MATRIX, so that all display server would
      load the new calibration automatically.
      Co-developed by Louis-Francis and Pekka.
      - use struct weston_point2d_device_normalized
      - use syspath instead of devpath
      - wrong_touch was renamed to invalid_touch
      - rename weston_touch_calibrator::cancelled to calibration_cancelled
      - send invalid_touch on out-of-bounds touch-down
      - cancel touch sequence and send invalid_touch on motion going
      - rename calcoord_from_double() to wire_uint_from_double()
      - send bad_coordinates error in touch_calibrator_convert()
      - conversion results in 0,0 if cancelled
      Signed-off-by: Louis-Francis Ratté-Boulianne's avatarLouis-Francis Ratté-Boulianne <lfrb@collabora.com>
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      v1 Tested-by: Matt Hoosier <matt.hoosier@gmail.com>
      Reviewed-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
    • Pekka Paalanen's avatar
      protocol: add weston_touch_calibration · 999876a8
      Pekka Paalanen authored
      This is a Wayland protocol extension to allow the calibration of
      touchscreens in Weston.
      See: https://phabricator.freedesktop.org/T7868
      - replace "server" with "compositor"
      - rephrase error conditions to be simpler
      - reword the matrix description in 'save' request
      - rephrase when touch_device events are sent
      - change device id to DEVPATH with "/sys" prefix
      - qualify calibration units better
      - replace wrong_touch event with a more generic invalid_touch
      - fix error enum and add bad_coordinates
      - convert while cancelled will not raise any errors
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      v1 Tested-by: Matt Hoosier <matt.hoosier@gmail.com>
      Reviewed-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
  14. 29 May, 2018 1 commit
  15. 28 May, 2018 1 commit
  16. 16 Mar, 2018 2 commits
  17. 20 Feb, 2018 2 commits
  18. 14 Feb, 2018 2 commits
  19. 09 Feb, 2018 1 commit
    • Pekka Paalanen's avatar
      weston: remove SEGV and ABRT handlers · bb707dc0
      Pekka Paalanen authored and Daniel Stone's avatar Daniel Stone committed
      Catching an ABRT is kind of ok, catching a SEGV is russian roulette. We
      have been quite lucky with it, but I've started hitting crashes inside
      malloc() which causes a deadlock when our SEGV handler needs to malloc()
      as well (weston_log_timestamp()).
      One reason to catch SEGV and ABRT was to attempt to restore the VT on
      the DRM-backend. Nowadays that job is done by logind or weston-launch.
      The signal handler also printed a backtrace, which for me personally has
      been extremely helpful. Arguably it's not necessary though, when we have
      core files and services that catch cores. For instance, if using
      systemd, 'coredumpctl gdb' is delightfully easy for getting into the
      saved core.
      Therefore, this code does more harm than it is useful, so remove it. We
      also drop an optional dependency to libunwind.
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      Reviewed-by: Daniel Stone's avatarDaniel Stone <daniels@collabora.com>
  20. 07 Feb, 2018 1 commit
  21. 18 Jan, 2018 1 commit
  22. 07 Jan, 2018 1 commit
  23. 18 Dec, 2017 2 commits
  24. 12 Dec, 2017 1 commit
  25. 05 Dec, 2017 1 commit
  26. 01 Dec, 2017 1 commit
  27. 29 Sep, 2017 1 commit
  28. 11 Aug, 2017 1 commit