Skip to content
Snippets Groups Projects
  1. Mar 20, 2015
    • Pekka Paalanen's avatar
      compositor, backends: weston_compositor_read_presentation_clock · 662f384e
      Pekka Paalanen authored
      
      Create a new function weston_compositor_read_presentation_clock() to
      wrap the clock_gettime() call for the Presentation clock.
      
      Reading the presentation clock is never supposed to fail, but if it
      does, this will notify about it. I have not seen it fail yet, though.
      
      This prepares for new testing features in the future that might allow
      controlling the presentation clock. Right now it is just a convenience
      function for clock_gettime().
      
      All presentation clock readers are converted to call this new function
      except rpi-backend's rpi_flippipe_update_complete(), because it gets its
      clock id via a thread-safe mechanism. There shouldn't be anything really
      thread-unsafe in weston_compositor_read_presentation_clock() at the
      moment, but might be in the future, and weston core is not expected to
      need to be thread-safe.
      
      This is based on the original patch by
      Cc: Derek Foreman <derekf@osg.samsung.com>
      
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      Reviewed-By: default avatarDerek Foreman <derekf@osg.samsung.com>
      Reviewed-by: default avatarBryce Harrington <bryce@osg.samsung.com>
      662f384e
    • Jonas Ådahl's avatar
      input: Make setting the same pointer cursor state again a no-op · b407024e
      Jonas Ådahl authored
      
      If the client calls wl_pointer.set_cursor with the same surface and hot
      spot coordinate that is already set, don't do anything as no state was
      changed.
      
      This avoids an issue where a client setting the same cursor surface
      multiple times would receive wl_surface.leave/enter on that surface
      every time.
      
      Signed-off-by: default avatarJonas Ådahl <jadahl@gmail.com>
      Reviewed-By: default avatarDerek Foreman <derekf@osg.samsung.com>
      b407024e
  2. Mar 19, 2015
  3. Mar 18, 2015
  4. Mar 11, 2015
  5. Mar 09, 2015
  6. Mar 05, 2015
  7. Mar 04, 2015
  8. Mar 02, 2015
  9. Feb 27, 2015
Loading