1. 09 Jun, 2016 2 commits
    • Emmanuele Bassi's avatar
      Add GdkDrawingContext · a7ef37da
      Emmanuele Bassi authored
      Instead of giving out Cairo contexts, GdkWindow should provide a
      "drawing context", which can then create Cairo contexts on demand; this
      allows us to future proof the API for when we're going to use a
      different rendering pipeline, like OpenGL.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=766675
      a7ef37da
    • Emmanuele Bassi's avatar
      Add frame drawing API to GdkWindow · fc569f1a
      Emmanuele Bassi authored
      Existing code drawing on a GDK window has to handle the direct drawing
      and the buffered drawing by itself, by checking the window type and
      whether or not the window is backed by a native windowing surface. After
      that, the calling code has to create a Cairo context from the window and
      keep an association between the context and the window itself.
      
      This is completely unnecessary: GDK can determine whether or not it
      should use a backing store to draw on a GdkWindow as well as create a
      Cairo context, and keep track of it.
      
      This allows to simplify the calling code, and enforce some of the
      drawing behavior we want to guarantee to users.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=766675
      fc569f1a
  2. 23 May, 2016 1 commit
  3. 12 May, 2016 1 commit
  4. 10 May, 2016 1 commit
  5. 01 May, 2016 2 commits
  6. 18 Apr, 2016 1 commit
  7. 06 Apr, 2016 1 commit
  8. 31 Mar, 2016 1 commit
    • Alexander Larsson's avatar
      gdkwindow: Remove O(n-children) code in gdk_window_invalidate · 4c10800b
      Alexander Larsson authored
      When we invalidate a window we need to also invalidate all child windows
      that are native (non-native are automatically invalidated as we track
      invalidation once per native window only). This was done in a pretty
      inefficient way, recursing over the entire tree.
      
      This makes the invalidation much faster by only looking at the native
      children of the native window we're in, filtering out those that
      are not a descendant of the client side window we're interested in.
      Given that there are very few native subwindows this is much faster.
      4c10800b
  9. 12 Mar, 2016 1 commit
  10. 29 Feb, 2016 1 commit
  11. 28 Feb, 2016 2 commits
  12. 18 Jan, 2016 1 commit
  13. 16 Dec, 2015 3 commits
  14. 15 Dec, 2015 3 commits
  15. 14 Dec, 2015 1 commit
  16. 13 Dec, 2015 1 commit
    • Matthias Clasen's avatar
      gdk: Allow passing the start coordinates in drag_begin · 268c7a3e
      Matthias Clasen authored
      Add a variant of gdk_drag_begin that takes the start position
      in addition to the device. All backend implementation have been
      updated to accept (and ignore) the new arguments.
      
      Subsequent commits will make use of the data in some backends.
      268c7a3e
  17. 09 Nov, 2015 1 commit
  18. 20 Oct, 2015 1 commit
  19. 28 Sep, 2015 1 commit
  20. 21 Sep, 2015 1 commit
  21. 14 Sep, 2015 2 commits
  22. 13 Sep, 2015 1 commit
  23. 06 Sep, 2015 2 commits
  24. 28 Aug, 2015 1 commit
  25. 12 Aug, 2015 2 commits
  26. 25 Jul, 2015 1 commit
  27. 17 Jul, 2015 1 commit
  28. 23 Jun, 2015 1 commit
  29. 17 Jun, 2015 1 commit
  30. 16 Jun, 2015 1 commit