1. 11 Oct, 2019 1 commit
  2. 28 Apr, 2019 1 commit
  3. 23 Apr, 2019 1 commit
    • emersion's avatar
      output: refactor frame submission API · 23e37e7b
      emersion 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
  4. 01 Mar, 2019 1 commit
  5. 29 Jan, 2019 1 commit
  6. 21 Jan, 2019 1 commit
  7. 13 Jan, 2019 1 commit
  8. 07 Jan, 2019 1 commit
    • Jan Beich's avatar
      Simplify evdev includes on FreeBSD by relying on up-to-date package · f80d174e
      Jan Beich authored
      As evdev-proto is installed by CI some files have been missed:
      
       ../examples/pointer-constraints.c:2:10: fatal error: 'linux/input-event-codes.h' file not found
       #include <linux/input-event-codes.h>
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
       ../examples/relative-pointer-unstable-v1.c:5:10: fatal error: 'linux/input-event-codes.h' file not found
       #include <linux/input-event-codes.h>
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      f80d174e
  9. 06 Jan, 2019 1 commit
  10. 30 Dec, 2018 1 commit
  11. 21 Dec, 2018 1 commit
  12. 08 Dec, 2018 1 commit
  13. 06 Nov, 2018 2 commits
  14. 17 Oct, 2018 1 commit
  15. 15 Oct, 2018 1 commit
  16. 14 Oct, 2018 1 commit
    • Scott Anderson's avatar
      Fix libdrm includes · 7ca3bc1d
      Scott Anderson authored
      This removes any assumptions about how the libdrm headers are installed,
      and uses the pkg-config include directories as we're "supposed to".
      This only adds a partial dependency, since we don't actually need to
      link against libdrm.
      7ca3bc1d
  17. 12 Oct, 2018 1 commit
  18. 09 Oct, 2018 2 commits
  19. 26 Sep, 2018 2 commits
  20. 18 Sep, 2018 2 commits
  21. 02 Sep, 2018 4 commits
  22. 31 Aug, 2018 1 commit
    • random human's avatar
      Fix bugs listed by clang's static analyzer · 8589ae19
      random human authored
      A few pedantic changes and unused variables (1-4), and genuine bugs (5,
      6).
      
      The reports with the corresponding files and lines numbers are as
      follows.
      
      1. backend/libinput/tablet_pad.c@31,44,57
      "Allocator sizeof operand mismatch"
      "Result of 'calloc' is converted to a pointer of type 'unsigned int',
      which is incompatible with sizeof operand type 'int'"
      
      2. types/tablet_v2/wlr_tablet_v2_pad.c@371
      "Allocator sizeof operand mismatch"
      "Result of 'calloc' is converted to a pointer of type 'uint32_t', which
      is incompatible with sizeof operand type 'int'"
      
      3. types/wlr_cursor.c@335
      "Dead initialization"
      "Value stored to 'dx'/'dy' during its initialization is never read"
      
      4. rootston/xdg_shell.c@510
      "Dead initialization"
      "Value stored to 'desktop' during its initialization is never read"
      
      5. types/tablet_v2/wlr_tablet_v2_pad.c@475
      "Dereference of null pointer"
      "Access to field 'strips' results in a dereference of a null pointer
      (loaded from field 'current_client')"
      
      The boolean logic was incorrect (c.f. the check in the following
      function).
      
      6. examples/idle.c@163,174,182
      "Uninitialized argument value"
      "1st function call argument is an uninitialized value"
      
      If close_timeout != 0, but simulate_activity_timeout >= close_timeout,
      the program would segfault at pthread_cancel(t1).
      8589ae19
  23. 30 Aug, 2018 1 commit
  24. 24 Aug, 2018 2 commits
  25. 22 Aug, 2018 1 commit
  26. 16 Aug, 2018 1 commit
  27. 02 Aug, 2018 3 commits
  28. 29 Jul, 2018 1 commit
  29. 28 Jul, 2018 1 commit
  30. 14 Jul, 2018 1 commit
    • Markus Ongyerth's avatar
      rename wlr_tablet_tool to wlr_tablet · d9e978e1
      Markus Ongyerth authored
      The previous naming was based on the input-device capability names from
      libinput.
      With code that uses the libinput_tablet_tool and mapping into tablet-v2,
      this is confusing, so the name is changed to follow the names used in
      the protocol.
      d9e978e1