1. 13 Dec, 2018 1 commit
  2. 12 Dec, 2018 1 commit
  3. 11 Dec, 2018 2 commits
  4. 06 Dec, 2018 16 commits
  5. 05 Dec, 2018 8 commits
  6. 04 Dec, 2018 6 commits
    • Jonas Ådahl's avatar
      stack: Don't place Wayland popups in o-r layer · 666bef7a
      Jonas Ådahl authored
      Placing persistant Wayland popups (e.g. not menus etc) in the o-r layer
      breaks stacking order with other window trees (e.g. other client
      windows), as the menu would get stuck in the o-r layer, i.e. on top,
      even if the parent of the popup got lowered.
      Fix this by placing the popups in the normal layer, relying on
      transient-ness to keep stacking correct.
    • Jonas Ådahl's avatar
      wayland/surface: Don't make destoryed actor reactive · 19e3c216
      Jonas Ådahl authored
      When destructing a xdg_toplevel, we'll disassociate the actor from the
      MetaWaylandSurface, to allow it to animate out. After having done this,
      avoid trying to set it as unreactive when unsetting the window.
      This fixes the runtime warning:
      clutter_actor_set_reactive: assertion 'CLUTTER_IS_ACTOR (actor)' failed
    • Jonas Ådahl's avatar
      wayland/surface: Intersect buffer damage with buffer rect · da5a2d3c
      Jonas Ådahl authored
      Before processing the buffer damage region, intersect it with the buffer
      rectangle to avoid trying to damage content outside the surface.
      This fixes the runtime warning "GL error (1281): Invalid value"
      happening when a client posts too large buffer damage larger.
    • Jonas Ådahl's avatar
      backend/native: Remove leftover stage view checks · 7226c5c7
      Jonas Ådahl authored
      We haven't supported disabling stage views in the native backend since
      commit 70edc7dd
      Author: Jonas Ådahl <jadahl@gmail.com>
      Date:   Mon Jul 24 12:31:32 2017 +0800
          backends/native: Stop supporting stage views being disabled
      There were still some left over checks; lets remove them.
    • Georges Basile Stavracas Neto's avatar
      clutter/stage-cogl: Disable buffer age when painting red damage · acacd3dd
      Georges Basile Stavracas Neto authored
      This is to ensure we're rendering a red damage area that actually
      represents what is being damaged.
      Fixes an always-fullscreen red damage on bare metal Wayland and
      GNOME Shell.
    • Georges Basile Stavracas Neto's avatar
      clutter/stage-cogl: Add option to visualize damaged regions · 20b271fa
      Georges Basile Stavracas Neto authored
      This is useful to visualize which parts of the screen are being
      Add a new 'damage-region' value for CLUTTER_PAINT and paint the
      damaged regions accordingly.
  7. 03 Dec, 2018 4 commits
    • Robert Mader's avatar
      wayland/surface: Add support for buffer transforms · e4de9ed5
      Robert Mader authored
      This adds the required bits to wayland surfaces and ties them up
      to the compositor parts.
      The central part here is to recalculate the surface size accordingly
      and to translate surface damage into buffer damage.
      The choosen approach additionally lays groundwork for wp_viewporter
      support, which is closely related in its nature.
      A further explanation of buffer transforms from the specification:
      > The purpose of this request is to allow clients to render content
      > according to the output transform, thus permitting the compositor
      > to use certain optimizations even if the display is rotated.
      > Using hardware overlays and scanning out a client buffer for
      > fullscreen surfaces are examples of such optimizations.
    • Robert Mader's avatar
      region-utils: Add API to transform an integer region · 452ef4d5
      Robert Mader authored
      The added API requires additional width and height arguments
      to calculate transformed coordinates.
    • Robert Mader's avatar
      shaped-texture: Add support for texture transform · 1467b6b0
      Robert Mader authored
      This adds the necessary bits to support Wayland buffer transforms.
      The main part here is to properly setup the Cogl pipeline
      and to recalculate the size of the painted area accordingly,
      so culling etc. still works.
      The choosen approach additionally lays groundwork for Wayland
      wp_viewporter support.
    • Javier Jardón's avatar
      autogen.sh: Don't run intltoolize · 9ca6c742
      Javier Jardón authored
      Mutter hasn't depended on intltool for a long time.
      This completes 3248c685
      Related: gnome-build-meta#104
  8. 01 Dec, 2018 2 commits
    • Ting-Wei Lan's avatar
      tests: Fix warnings reported by shellcheck · 319500e4
      Ting-Wei Lan authored
      This commit includes following fixes for a few shell scripts:
      1. Follow the best practice of quoting variables everywhere unless they
         are used in places where word-splitting and globbing can never happen.
      2. Replace `command` with $(command) because the latter is easier to use
         and read.
      3. Don't use "$@" in places expecting a string because it is an array
         of strings instead of a single string.
    • Ting-Wei Lan's avatar
      build: Don't hardcode the path of bash · b2e75b5d
      Ting-Wei Lan authored
      Bash is not always installed in /bin and we should not hardcode the path
      of it in source code which is expected to be built on many operating
      systems and distributions.
      Since most scripts using #!/bin/bash here doesn't have any bashism,
      they can be converted to #!/bin/sh instead of using /usr/bin/env trick.