1. 16 Sep, 2013 2 commits
  2. 14 Sep, 2013 1 commit
  3. 29 Aug, 2013 8 commits
  4. 26 Aug, 2013 2 commits
  5. 13 Aug, 2013 1 commit
  6. 10 Aug, 2013 2 commits
    • Robert Bragg's avatar
      wayland: Adds basic hybrid X + Wayland support · f9a11b3b
      Robert Bragg authored
      This adds support for running mutter as a hybrid X and Wayland
      compositor. It runs a headless XWayland server for X applications
      that presents wayland surfaces back to mutter which mutter can then
      composite.
      
      This aims to not break Mutter's existing support for the traditional X
      compositing model which means a single build of Mutter can be
      distributed supporting the traditional model and the new Wayland based
      compositing model.
      
      TODO: although building with --disable-wayland has at least been tested,
      I still haven't actually verified that running as a traditional
      compositor isn't broken currently.
      
      Note: At this point no input is supported
      
      Note: multiple authors have contributed to this patch:
      Authored-by: 's avatarRobert Bragg <robert@linux.intel.com>
      Authored-by: 's avatarNeil Roberts <neil@linux.intel.com>
      Authored-by: Rico Tzschichholz.
      Authored-by: 's avatarGiovanni Campagna <gcampagna@src.gnome.org>
      f9a11b3b
    • Robert Bragg's avatar
      Track the X Shape input region and use it for picking · 531be6c4
      Robert Bragg authored
      We now track whether a window has an input shape specified via the X
      Shape extension. Intersecting that with the bounding shape (as required
      by the X Shape extension) we use the resulting rectangles to paint
      window silhouettes when picking. As well as improving the correctness of
      picking this should also be much more efficient because typically when
      only picking solid rectangles then the need to actually render and issue
      a read_pixels request can be optimized away and instead the picking is
      done on the cpu.
      531be6c4
  7. 14 Mar, 2013 1 commit
  8. 20 Feb, 2013 1 commit
  9. 13 Feb, 2013 1 commit
  10. 21 May, 2012 2 commits
  11. 25 Apr, 2012 2 commits
  12. 21 Feb, 2012 2 commits
  13. 04 Feb, 2012 2 commits
  14. 03 Feb, 2012 1 commit
  15. 04 Oct, 2011 1 commit
  16. 14 Sep, 2011 1 commit
  17. 26 Aug, 2011 1 commit
  18. 24 Aug, 2011 1 commit
  19. 09 Aug, 2011 1 commit
  20. 22 Jul, 2011 1 commit
  21. 19 Jul, 2011 1 commit
    • Neil Roberts's avatar
      Use a utility function to create GL_ARB_texture_rectangles · fccd6266
      Neil Roberts authored
      meta-texture-rectangle and meta-shaped-texture both create textures
      with GL_TEXTURE_RECTANGLE_ARB as the target using direct GL
      calls. This patch moves that code into a shared utility function in a
      separate file instead. The function resolves the required GL symbols
      dynamically instead of linking to them directly so that if Clutter
      eventually stops linking to -lGL mutter will continue to build. The
      function also splits the texture creation into a separate texture
      creation and data upload stage so that it can use
      cogl_texture_set_region to upload the data. That way it can avoid
      clobbering the glPixelStore state and it can let Cogl do any necessary
      format conversion. The code preserves the old value of the rectangle
      texture binding instead of clobbering it because Cogl expects to be
      able to cache this value to avoid redundant glBindTexture
      calls. Finally, the function uses cogl_object_set_data to
      automatically destroy the GL texture when the Cogl texture is
      destroyed. This avoids having to have special code to destroy the cogl
      texture.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=654569
      fccd6266
  22. 04 Jan, 2011 1 commit
  23. 23 Oct, 2010 2 commits
    • Owen W. Taylor's avatar
      Remove Mutter namespace prefix · 1920f211
      Owen W. Taylor authored
      Move all objects and functions namespaced with Mutter into the Meta namespace
      to get a single consistent namespace. Changes that aren't simply changing mutter
      to meta:
      
       MutterWindow              => MetaWindowActor
       mutter_get_windows        => meta_get_window_actors
       mutter_plugin_get_windows => meta_plugin_get_window_actors
      
      https://bugzilla.gnome.org/show_bug.cgi?id=628520
      1920f211
    • Owen W. Taylor's avatar
      Remove MetaRegion · 804117c4
      Owen W. Taylor authored
      In many places, MetaRegion was being used entirely internally, rather
      than for gtk2/gtk3 compatibility. In these cases, it's simpler to just
      depend on cairo-1.10 (for both gtk2 and gtk3) and use cairo_region_t.
      
      The few places where we did need GDK compatibility (GdkEvent.region and
      gdk_window_shape_combine_mask) are replaced with a combination of
      converting GdkRegion to cairo_region_t and conditional code.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=632474
      804117c4
  24. 19 Sep, 2010 1 commit
  25. 19 Aug, 2010 1 commit
    • Owen W. Taylor's avatar
      MutterShapedWindow: drop all indirect references to textures · 8b34b4bd
      Owen W. Taylor authored
      We don't get correct notifications for the ::cogl-texture property of
      ClutterTexture in the case when we are unsetting the pixmap before calling
      XFreePixmap. (This is because ClutterX11TexturePixmap is a hack on top
      of ClutterTexture and we're a hack on top of that.) So we need to manually
      clear everything out.
      
      For consistency we also make sure that we drop all references to dead
      textures:
      
       - When the shape changes
       - If the window pixmap texture changes without first being cleared
         (this is not expected to happen)
      
      https://bugzilla.gnome.org/show_bug.cgi?id=627210
      8b34b4bd