1. 05 Sep, 2019 1 commit
  2. 30 Aug, 2019 1 commit
  3. 26 Aug, 2019 6 commits
    • Ankit Nautiyal's avatar
      man: Declare drm-backend support for HDCP · fbfcc304
      Ankit Nautiyal authored
      Modify weston.ini man page to update that drm-backend supports HDCP.
      Signed-off-by: Ankit Nautiyal's avatarAnkit Nautiyal <ankit.k.nautiyal@intel.com>
      fbfcc304
    • Ankit Nautiyal's avatar
      libweston: Notify the client, when output recording is started/stopped · 4fd38138
      Ankit Nautiyal authored
      In case of enforced protection mode, the renderer takes care of
      censoring the protected content when the output recording is going on.
      But in case of relaxed protection mode, the client must be notified to
      avoid showing the protected content, if the output recording is on.
      
      This patch handles the case, where the content-protection is enabled
      with relaxed protection mode, and notifies the client, whenever the
      recording is started or stopped.
      Signed-off-by: Ankit Nautiyal's avatarAnkit Nautiyal <ankit.k.nautiyal@intel.com>
      4fd38138
    • Harish Krupo's avatar
      gl-renderer: Censor protected views when output is recorded · 57d7883d
      Harish Krupo authored
      Contents on an ouput are captured when screenshooter/recorder/screen
      sharing is enabled. In such cases the protected content must
      be censored to ensure that it is not recorded along with unprotected
      content. This is a required only when the surface protection is in
      enforced mode.
      Signed-off-by: Harish Krupo's avatarHarish Krupo <harishkrupo@gmail.com>
      Signed-off-by: Ankit Nautiyal's avatarAnkit Nautiyal <ankit.k.nautiyal@intel.com>
      57d7883d
    • Ankit Nautiyal's avatar
      libweston: Add function to schedule idle task for updating surface protection · faa5ab4e
      Ankit Nautiyal authored
      Currently, the idle task for updating surface protection is scheduled
      in case of change in the output mask of a surface or in case of change
      in protection status of an output.
      This patch adds a function for reusing the code to schedule the
      idle-tasks, that can be called whenever there is a chance of a change
      in the protection status of a surface.
      Signed-off-by: Ankit Nautiyal's avatarAnkit Nautiyal <ankit.k.nautiyal@intel.com>
      faa5ab4e
    • Ankit Nautiyal's avatar
      libweston: Add functions to modify disable_planes counter for an output · 93dde245
      Ankit Nautiyal authored
      The member disable_planes of weston_output signifies the recording
      status of the output, and is incremented and decremented from various
      places. This patch provides helper functions to increment and decrement
      the counter. These functions can then be used to do processing, before
      and after the recording has started or stopped.
      Signed-off-by: Ankit Nautiyal's avatarAnkit Nautiyal <ankit.k.nautiyal@intel.com>
      93dde245
    • Ankit Nautiyal's avatar
      backend-drm: Add support for content-protection · a344fe32
      Ankit Nautiyal authored
      Currently drm-layer supports HDCP1.4 using connector property:
      Content Protection. This property if available for a platform, can be
      read and set for requesting content-protection.
      Also, the patch series [1] adds HDCP2.2 support in drm, and patch [2]
      adds support to send udev events for change in connector properties,
      made by the kernel.
      
      This patch adds these HDCP connector properties in weston, and exposes
      the content-protection support to the client for drm-backend.
      
      It adds the enums to represent 'Content Protection' and 'Content Type'
      connector properties exposed by drm layer. It adds a member
      'protection' in drm_output_state, to store the desired protection
      from the weston_output in the drm-backend output-repaint cycle. This
      is then used to write the HDCP connector properties for the drm_heads
      attached to the drm_output.
      
      The kernel sends uevents to the user-space for any change made by it
      in the "Content Protection" connector property. No event is sent in
      case of change in the property made by the user-space.
      It means, when there is a change of the property value from "DESIRED"
      to "ENABLE" i.e. successful authentication by the kernel, a uevent
      will be generated, but in case of userspace requesting for disabling
      the protection by writing "UNDESIRED" into the property, no uevent
      will be generated.
      
      This patch also adds support for handling new udev events for HDCP
      connector property changes. Any such change, triggers change in the
      weston_head's current_protection.
      
      [1] https://patchwork.freedesktop.org/series/57233/#rev7
      [2] https://patchwork.freedesktop.org/patch/303903/?series=57233&rev=7Signed-off-by: Ankit Nautiyal's avatarAnkit Nautiyal <ankit.k.nautiyal@intel.com>
      a344fe32
  4. 23 Aug, 2019 5 commits
  5. 19 Aug, 2019 2 commits
  6. 16 Aug, 2019 5 commits
  7. 15 Aug, 2019 1 commit
  8. 12 Aug, 2019 2 commits
  9. 06 Aug, 2019 2 commits
  10. 02 Aug, 2019 4 commits
  11. 01 Aug, 2019 1 commit
    • Stefan Agner's avatar
      pixman: avoid unnecessary y-flip for screen capture · da2e574c
      Stefan Agner authored
      Commit 4fc5dd00 ("compositor: add capability CAPTURE_YFLIP")
      introduced a capability flag which indicates whether y-flipping is
      necessary. As already indicated in that commit message, it seems
      that pixman flipps the y-axis only due to historic reasons.
      
      Drop y-flipping and use the WESTON_CAP_CAPTURE_YFLIP flag to
      indicate that y-flipping is not necessary. This simplifies code
      and improves screen share performance (on my test by about 3% down
      to 18% CPU load on the sharing instance of Weston).
      Signed-off-by: Stefan Agner's avatarStefan Agner <stefan@agner.ch>
      da2e574c
  12. 31 Jul, 2019 1 commit
  13. 26 Jul, 2019 1 commit
    • Stefan Agner's avatar
      shared/platform: avoid build warning when building without gl-renderer · db905f46
      Stefan Agner authored
      When building without GL renderer the compiler prints the following
      warning:
        ../clients/subsurfaces.c: In function ‘egl_state_create’:
        ../clients/subsurfaces.c:225:35: warning: passing argument 1 of
        ‘weston_platform_get_egl_display’ makes pointer from integer without a
        cast [-Wint-conversion]
          225 |   weston_platform_get_egl_display(EGL_PLATFORM_WAYLAND_KHR,
              |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
              |                                   |
              |                                   int
      ...
      
      Define the fallback implementation of weston_platform_get_egl_display
      to take an integer which is the underlaying datatype of EGLenum.
      Signed-off-by: Stefan Agner's avatarStefan Agner <stefan@agner.ch>
      db905f46
  14. 23 Jul, 2019 1 commit
  15. 22 Jul, 2019 1 commit
  16. 19 Jul, 2019 3 commits
  17. 18 Jul, 2019 3 commits