1. 09 Oct, 2013 1 commit
  2. 03 Oct, 2013 1 commit
  3. 26 Sep, 2013 1 commit
  4. 22 Sep, 2013 1 commit
  5. 04 Sep, 2013 2 commits
  6. 30 Aug, 2013 4 commits
    • Kristian H. Kristensen's avatar
      configure: Require wayland-server 1.2.90 · c940dcdb
      Kristian H. Kristensen authored
      Make sure we look for a recent enough version of wayland-server for
      the new wl_seat release requests.
      c940dcdb
    • Kristian H. Kristensen's avatar
      configure.ac: Auto-enable vaapi recorder, but allow overrides · 0eac34ab
      Kristian H. Kristensen authored
      If libva is available and recent, we'll enable the vaapi recorder feature,
      but it can also be forced on or off by --enable/disable-vaapi-recorder.
      0eac34ab
    • Ander Conselvan de Oliveira's avatar
      compositor-drm: Add hardware accelerated capture of screen using libva · 6aae4d39
      Ander Conselvan de Oliveira authored
      This patch adds a feature to the DRM backend that uses libva for
      encoding the screen contents in H.264. Screen recording can be
      activated by pressing mod-shift-space q. A file named capture.h264
      will be created in the current directory, which can be muxed into
      an MP4 file with gstreamer using
      
      gst-launch filesrc location=capture.h264 ! h264parse ! mp4mux ! \
                 filesink location=file.mp4
      
      This is limitted to the DRM compositor in order to avoid a copy when
      submitting the front buffer to libva. The code in vaapi-recorder.c
      takes a dma_buf fd referencing it, does a colorspace conversion using
      the video post processing pipeline and then uses that as input to the
      encoder.
      
      I'm sending this now so I get comments, but this is not ready for
      prime time yet. I have a somewhat consistent GPU hang when using
      i915 with SandyBridge. Sometimes a page flip never completes. If you
      want to try this anyway and your system get stuck, you might need to
      run the following:
      
        # echo 1 > /sys/kernel/debug/dri/0/i915_wedged
      
      After that, alt-sysrq [rv] should work.
      
      Once that's fixed it would also be good to make the parameters used by
      the encoder more flexible. For now the QP parameter is hardcoded to 0
      and we have only I and P frames (no B frames), which causes the
      resulting files to be very large.
      6aae4d39
    • Quentin Glidic's avatar
      9f43cb48
  7. 29 Aug, 2013 2 commits
  8. 21 Aug, 2013 1 commit
  9. 20 Aug, 2013 1 commit
  10. 14 Aug, 2013 1 commit
  11. 13 Aug, 2013 1 commit
    • Rob Bradford's avatar
      build: Allow more control over cairo use in the clients · 4c1a9bc6
      Rob Bradford authored
      Previously the configure script would silently disable the use of
      accelerated cairo in the clients if cairo-gl could not be found (or
      cairo-glesv2 if that was requested.) Conversely the use of cairo-gl
      would be automatically enabled if it was found with no way to disable
      that feature
      
      This change adds --with-cairo which takes one of "image", "gl" or
      "glesv2" (defaulting to "image"). If "gl" or "glesv2" is specified
      cairo-egl is checked for as well as the specified renderer. If the check
      fails then the configure process errors out.
      4c1a9bc6
  12. 09 Aug, 2013 1 commit
  13. 29 Jul, 2013 1 commit
  14. 13 Jul, 2013 1 commit
  15. 10 Jul, 2013 1 commit
  16. 09 Jul, 2013 1 commit
  17. 08 Jul, 2013 2 commits
  18. 28 Jun, 2013 1 commit
  19. 05 Jun, 2013 3 commits
  20. 04 Jun, 2013 1 commit
  21. 22 May, 2013 2 commits
    • Louis-Francis Ratté-Boulianne's avatar
      toytoolkit: Make the window resizing optimization optional · 6cd1de33
      Louis-Francis Ratté-Boulianne authored
      Whether or not a shm pool is used for resizing is now configurable at
      build time (--disable-resize-optimization).
      
      [pq: removed an unnecessary hunk from the patch]
      6cd1de33
    • Pekka Paalanen's avatar
      rpi: switch to rpi-renderer · e31e0533
      Pekka Paalanen authored
      Replace the GL renderer with the new rpi-renderer on the Raspberry Pi
      backend. This makes Weston on rpi not use EGL or GL anymore, at all.
      
      The weston_plane feature is disabled, since the rpi-renderer does the
      same, but better.
      
      Add a command line option to select the output transform. It is not a
      weston.ini option for now, since the rpi backend does not read the
      configuration file yet. Hopefully that will be done later with some
      shared code.
      
      Add the rpi options to 'weston --help' output.
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      e31e0533
  22. 20 May, 2013 1 commit
  23. 14 May, 2013 1 commit
    • Richard Hughes's avatar
      Add a colord implementation of a CMS plugin for weston · be7c4dd2
      Richard Hughes authored
      This allows users to change the assigned display profile in GNOME (using
      gnome-control-center) or KDE (using colord-kde) and also allows the profiling
      tools to correctly inhibit the calibration state whilst measuring the native
      screen response.
      be7c4dd2
  24. 10 May, 2013 2 commits
    • Pekka Paalanen's avatar
      clients: add subsurfaces demo · 7ff7a800
      Pekka Paalanen authored
      Add a demo program with:
      - a main surface (green)
      - a Cairo-image sub-surface (red)
      - a raw GLESv2 widget (triangle)
      
      Sub-surface input region is set empty to avoid problems in toytoolkit.
      
      If Cairo links to libGL, then we will end up with also libGLESv2 linked
      to subsurfaces program, and both libs getting really used, which leads
      to disaster.
      
      Do not build subsurfaces demo, if Cairo links to libGL and cairo-egl is
      usable.
      
      The GL rendering loop is not tied to the toytoolkit or the widget, but
      runs directly from its own frame callback. Therefore it runs
      independent of the rest of the application. This also relies on one of
      two things:
      - eglSwapInterval(0) is implemented, and therefore eglSwapBuffers never
        blocks indefinitely, or
      - toytoolkit has a workaround, that guarantees that eglSwapBuffers will
        return soon, when we force a repaint on resize.
      Otherwise the demo will deadlock.
      
      The code is separated into three sections:
      
      1. The library component, using only EGL, GLESv2, and libwayland-client
         APIs, and not aware of any toolkit details of the parent application.
         This runs independently until the parent application tells otherwise.
      
      2. The glue code: a toytoolkit application widget, who has its own
         rendering machinery.
      
      3. The application written in toytoolkit.
      
      This patch also adds new toytoolkit interfaces:
      - widget_get_wl_surface()
      - widget_get_last_time()
      - widget_input_region_add()
      
      Toytoolkit applications have not had a possibility to change the input
      region. The frame widget (decorations) set the input region on its own
      when used, otherwise the default input region of everything has been
      used. If a window does not have a frame widget, it can now use
      widget_input_region_add() to set a custom input region.
      
      These are not window methods, because a widget may lie on a different
      wl_surface (sub-surface) than the window.
      
      Changes in v3:
      - replace set_commit_mode with set_sync and set_desync
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <ppaalanen@gmail.com>
      7ff7a800
    • Richard Hughes's avatar
      Add initial color management framework code · b24e48e2
      Richard Hughes authored
      ICC profiles can now be specified in weston.ini for each output, or a CMS
      implementation can optionally loaded from a pluggable module.
      b24e48e2
  25. 07 May, 2013 1 commit
  26. 29 Apr, 2013 1 commit
  27. 16 Apr, 2013 1 commit
  28. 03 Apr, 2013 1 commit
  29. 02 Apr, 2013 1 commit
  30. 28 Mar, 2013 1 commit