Skip to content
  1. Sep 03, 2012
    • Neil Roberts's avatar
      blur-effect: Use a gaussian blur · c16b31e5
      Neil Roberts authored
      This replaces the 3x3 box blur of ClutterBlurEffect with a two-pass
      gaussian blur. The sigma value for the gaussian function (ie, the
      bluriness) can be adjusted with a property. The radius for sampling is
      limited to ⌈6σ⌉×⌈6σ⌉ as suggested by Wikipedia. The factors for the
      sampling are stored in an array in a uniform so the effect only needs
      to switch shaders when the sigma jumps to the next radius size. This
      makes it feasible to animate the bluriness without depending on
      conditional jumps in the shader.
      
      The effect creates a second texture at the same size as the
      offscreen's texture to implement the second pass. The effect avoids
      redrawing the first pass if the actor is redrawn without being
      dirtied. However if the sigma value changes it does need to redraw
      both passes but it can still avoid repainting the actual actor.
      
      The two passes share a single shader program with a uniform to
      change the direction. The pipelines for each radius are cached in a
      hash table attached to the class struct so they can be shared across
      multiple instances of the effect.
      c16b31e5
    • Emmanuele Bassi's avatar
      actor: Remove existing implicit transition if duration is 0 · 03f4f1c6
      Emmanuele Bassi authored
      
      
      When changing an implicit transition mid flight we may end up with an
      easing state with a duration of zero milliseconds; this leads to the
      implicit transition machinery setting the final state directly onto the
      actor. If there is a running transition, though, we need to remove it
      from the transitions table, otherwise it will keep running.
      
      This regression happened when the update_transition() internal function
      was merged into the create_transition() one.
      
      Tested-by: default avatarLionel Landwerlin <llandwerlin@gmail.com>
      03f4f1c6
    • Tomeu Vizoso's avatar
      gesture-action: Add API for cancelling a gesture · 2ef148a2
      Tomeu Vizoso authored
      and getters for sequences and devices of current points. It can be
      used for accepting and rejecting sequences for system-wide gestures.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=683090
      2ef148a2
    • Jasper St. Pierre's avatar
      brightness-contrast-effect: Don't actually run if it will have no effect · 38b82cb2
      Jasper St. Pierre authored
      Don't run the shader and redirect to an FBO if it won't actually do anything.
      This saves us on resources a ton.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=683066
      38b82cb2
  2. Sep 02, 2012
  3. Sep 01, 2012
  4. Aug 30, 2012
  5. Aug 28, 2012
  6. Aug 27, 2012
  7. Aug 26, 2012
  8. Aug 23, 2012
  9. Aug 22, 2012
  10. Aug 21, 2012
  11. Aug 20, 2012