Skip to content
  1. Sep 04, 2019
  2. Sep 03, 2019
  3. Aug 30, 2019
  4. Aug 26, 2019
  5. Aug 23, 2019
  6. Aug 19, 2019
  7. Aug 16, 2019
  8. Aug 15, 2019
  9. Aug 12, 2019
  10. Aug 06, 2019
  11. Aug 02, 2019
  12. Aug 01, 2019
    • Stefan Agner's avatar
      pixman: avoid unnecessary y-flip for screen capture · da2e574c
      Stefan Agner authored and Simon Ser's avatar Simon Ser committed
      
      
      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: default avatarStefan Agner <stefan@agner.ch>
      da2e574c
  13. Jul 31, 2019
  14. Jul 26, 2019
    • 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: default avatarStefan Agner <stefan@agner.ch>
      db905f46
Loading