1. 25 Jun, 2019 9 commits
    • Marius Vlad's avatar
      README/CONTRIBUTING: Markdown fixes · 5baeaeca
      Marius Vlad authored
      Found while being parsed by doxygen (when used recursively), this fixes
      the markdown bits as to be displayed properly.
      Signed-off-by: Marius Vlad's avatarMarius Vlad <marius.vlad@collabora.com>
      5baeaeca
    • Marius Vlad's avatar
      clients: Fix/resolved doxygen warnings · 48392643
      Marius Vlad authored
      Missing/wrong parameters and '[out]' issues.
      Signed-off-by: Marius Vlad's avatarMarius Vlad <marius.vlad@collabora.com>
      48392643
    • Marius Vlad's avatar
      pixel-formats: Fix doxygen warnings about missing format · eeabe17e
      Marius Vlad authored
      We already have documentation in header which conflicts with the one
      the source code. Remove it entirely as it confuses user as well.
      Signed-off-by: Marius Vlad's avatarMarius Vlad <marius.vlad@collabora.com>
      eeabe17e
    • Marius Vlad's avatar
      libweston: Fix/clean-up doxygen warnings · a2dace23
      Marius Vlad authored
      This fixes warnings for weston-debug, input, compositor, log and
      linux-explicit-sync. Warnings range from swapping '[in]', '[out]' with
      the function arguments to wrong parameter names.
      Signed-off-by: Marius Vlad's avatarMarius Vlad <marius.vlad@collabora.com>
      a2dace23
    • Marius Vlad's avatar
    • Marius Vlad's avatar
      build: Add sphinx/breathe support for generating documentation · bbf6ea0b
      Marius Vlad authored
      This is adds basic configuration files for doxygen and for breathe,
      which is a doxygen-to-sphinx bridge that can document C symbols.
      
      Breathe is configured with default project 'weston' and implicitly adds
      :members: and :undoc-members: to breathe configuration options.
      This allows a shorter way to call breathe directives without the need
      specify the project and also to display implicitly all the members,
      documented or not.
      
      A 'docs' run_target to force the docs to be re-built has been added.
      Initially (the first time the build system is ran) the documentation
      will automatically be built, but later re-builds will require the use of
      the 'docs' target. This avoid further delays in building weston but in
      the same time allows the possiblity to update/improve the documentation
      bits to those who want that.
      Signed-off-by: Marius Vlad's avatarMarius Vlad <marius.vlad@collabora.com>
      bbf6ea0b
    • Marius Vlad's avatar
      doc: Move helper scripts to doc/scripts · 71309894
      Marius Vlad authored
      No functional change, just re-arrange bits in doc/.
      Signed-off-by: Marius Vlad's avatarMarius Vlad <marius.vlad@collabora.com>
      71309894
    • Daniel Stone's avatar
      compositor-drm: Remove legacy plane and vblank usage · 31838bf1
      Daniel Stone authored
      As of the previous commit, we never create state which uses overlay
      planes on non-atomic drivers. We can thus remove the calls to
      drmModeSetPlane.
      
      The only time we ever waited for vblank events was when we had called
      drmModeSetPlane and needed to make sure we waited until it was active.
      We can thus also remove all the vblank event machinery.
      Signed-off-by: Daniel Stone's avatarDaniel Stone <daniels@collabora.com>
      31838bf1
    • Daniel Stone's avatar
      compositor-drm: Only assign planes with atomic · 87fab1ca
      Daniel Stone authored
      Without atomic modesetting, we have no way to know whether or not our
      desired configuration is usable. It might fail for a number of reasons:
      scaling limits, bandwidth limits, global resource (e.g. decompression)
      unit contention, or really just anything.
      
      Not only this, but there is no good way to ensure that our configuration
      actually lands together in the same refresh cycle - hence the 'atomic'
      in atomic modesetting. Some drivers implement a synchronously blocking
      drmModeSetPlane, whereas others return immediately. Using overlay planes
      can thus decimate your framerate.
      
      The pre-atomic API is not extensible either, so we need numerous out
      clauses: fail if we're cropping or scaling (sometimes), or changing
      formats, or fencing, or ...
      
      Now we've had atomic support stable for a couple of releases, just
      remove support for doing anything more fancy than displaying our
      composited output and a cursor with drivers which don't support atomic
      modesetting.
      
      Support for using overlay planes was already disabled by default when
      using the legacy API, and required a debug key combination to toggle it
      on by flipping the sprites_are_broken variable. We can ensure that we
      never try to use it on legacy by simply ignoring the hotkey when in
      legacy mode.
      Signed-off-by: Daniel Stone's avatarDaniel Stone <daniels@collabora.com>
      87fab1ca
  2. 20 Jun, 2019 2 commits
    • Stefan Agner's avatar
      backend-rdp: allow to force compression off · b0e16d4c
      Stefan Agner authored
      By default the client communicates its preference with regards to
      compression to the server. However, some clients always use
      compression, which is not ideal for certain environments (e.g.
      low performance embedded devices in a local network with plenty
      of bandwidth). Allow to disable compression server-side which will
      override the clients request for compression.
      Signed-off-by: Stefan Agner's avatarStefan Agner <stefan@agner.ch>
      b0e16d4c
    • Stefan Agner's avatar
      backend-rdp: fix memory leak · d93c0f70
      Stefan Agner authored
      Free command data after all rects have been updated. This fixes a
      rather huge memory leak when using the RDP backend.
      Signed-off-by: Stefan Agner's avatarStefan Agner <stefan@agner.ch>
      d93c0f70
  3. 17 Jun, 2019 1 commit
  4. 13 Jun, 2019 2 commits
  5. 11 Jun, 2019 8 commits
  6. 10 Jun, 2019 1 commit
  7. 31 May, 2019 1 commit
  8. 29 May, 2019 1 commit
  9. 24 May, 2019 1 commit
    • Antonio Borneo's avatar
      Fix build-time warning with meson 0.50.1 · e51478c1
      Antonio Borneo authored
      Commit 6666dee5 ("man: Add weston-bindings(7) describing
      desktop shell shortcuts") adds in file "man/meson.build" the line
              install: true,
      This line triggers a warning with meson 0.50.1:
              WARNING: Project targetting '>= 0.47' but tried to use
              feature introduced in '0.50.0': install arg in configure_file
      
      Accordingly with
              https://github.com/mesonbuild/meson/issues/5048
      the line was silently ignored by meson before 0.50.0
      
      One possible fix for this warning would require updating the
      minumum version of meson required by weston, but then forcing every
      builder to update meson.
      Instead, since all the other instances in "man/meson.build" of
      configure_file don't use the feature "install:", it seams safe to
      simply remove the feature for the instal of "weston-bindings.man".
      Signed-off-by: Antonio Borneo's avatarAntonio Borneo <borneo.antonio@gmail.com>
      e51478c1
  10. 20 May, 2019 2 commits
  11. 16 May, 2019 9 commits
  12. 14 May, 2019 1 commit
  13. 10 May, 2019 2 commits