Skip to content
Snippets Groups Projects
  1. May 03, 2019
  2. Apr 29, 2019
  3. Apr 28, 2019
  4. Apr 27, 2019
  5. Apr 26, 2019
  6. Apr 25, 2019
  7. Apr 23, 2019
    • Simon Ser's avatar
      93320883
    • Simon Ser's avatar
      render/egl: fix zero-length VLA · f42816ce
      Simon Ser authored
      f42816ce
    • Simon Ser's avatar
      output: rename needs_commit to needs_frame · 20690346
      Simon Ser authored
      This new name makes more sense, since it is a request from the backend to get
      a new frame. In the future a commit may not convey a new frame.
      20690346
    • Simon Ser's avatar
      output-damage: refactor API · 5e6766a1
      Simon Ser authored
      wlr_output_damage_make_current has been renamed to
      wlr_output_damage_attach_render, since it's just a wrapper for
      wlr_output_attach_render.
      
      wlr_output_damage_swap_buffers has been removed completely. Instead,
      wlr_output_damage now listens to successful wlr_output commits and updates its
      internal state accordingly.
      5e6766a1
    • Simon Ser's avatar
      output: rename swap_buffers event to precommit · 31dcecbf
      Simon Ser authored
      Also remove damage from the event data since it's no longer tied to commits.
      31dcecbf
    • Simon Ser's avatar
      output: refactor backend API · 9a0f8a19
      Simon Ser authored
      This updates the backend part of the output API. This is mostly renaming:
      make_current becomes attach_render and swap_buffers becomes commit.
      
      This also fixes the RDP backend to support NULL damage.
      9a0f8a19
    • Simon Ser's avatar
      output: refactor frame submission API · 23e37e7b
      Simon Ser authored
      This is necessary for direct scan-out and other upcoming features. This patch
      changes the output API to look like the wl_surface API.
      
      Outputs now have some double-buffered state: the frame to be submitted
      (currently only wlr_renderer frames are supported) and the damaged region.
      To attach a pending frame, use wlr_output_attach_render. To set the pending
      damaged region, use wlr_output_set_damage.
      
      To submit the pending state, call wlr_output_commit. This will submit the
      pending frame to the backend.
      
      To migrate from the old API to the new one:
      
      - Replace wlr_output_make_current calls by wlr_output_attach_render
      - Replace wlr_output_swap_buffers calls by wlr_output_set_damage and
        wlr_output_commit
      23e37e7b
  8. Apr 22, 2019
  9. Apr 21, 2019
    • Alyssa Ross's avatar
      Fix missing headers when building without X11 · 95b22619
      Alyssa Ross authored and Simon Ser's avatar Simon Ser committed
      The deleted includes are redundant, because other headers will include
      the necessary files. Additionally, they cause build failures, because
      including EGL/egl.h or EGL/eglext.h directly, instead of through
      wlr/render/egl.h or wlr/render/interface.h, will mean that
      MESA_EGL_NO_X11_HEADERS will not have been defined, and so the EGL
      headers will attempt to pull in unnecessary X11 headers that may not
      exist on the system.
      
      For the headers produced by glgen.sh, the includes couldn't simply be
      deleted, because no other header would include the EGL headers. Neither
      wlr/render/egl.h or wlr/render/interface.h felt appropriate to include,
      so I opted instead to copy the MESA_EGL_NO_X11_HEADERS definition before
      the EGL includes.
      95b22619
  10. Apr 19, 2019
  11. Apr 17, 2019
  12. Apr 14, 2019
  13. Apr 13, 2019
  14. Apr 11, 2019
Loading