1. 06 Feb, 2018 1 commit
    • Matthias Clasen's avatar
      The big versioning cleanup · 4c150d8e
      Matthias Clasen authored
      Remove all the old 2.x and 3.x version annotations.
      GTK+ 4 is a new start, and from the perspective of a
      GTK+ 4 developer all these APIs have been around since
      the beginning.
  2. 14 Jan, 2018 3 commits
  3. 06 Jan, 2018 1 commit
  4. 21 Dec, 2017 2 commits
  5. 23 Nov, 2017 1 commit
  6. 04 Nov, 2017 1 commit
    • Benjamin Otte's avatar
      renderer: Assert having been unrealized in dispose · bd287ba3
      Benjamin Otte authored
      We cannot unrealize a renderer in the dispose function, because that
      would cause this chain to happen:
      So we would call into thje GL renderers unrealize when it has already
      (partially) disposed itself and ause accesses to dead variables.
  7. 03 Nov, 2017 1 commit
  8. 28 Oct, 2017 1 commit
  9. 06 Oct, 2017 2 commits
    • Matthias Clasen's avatar
      gskrenderer: Make the window property not construct · b9b03cf5
      Matthias Clasen authored
      We never set this, since it is assigned as a side-effect
      of realizing the renderer. Make this a plain readonly property.
    • Benjamin Otte's avatar
      build: Enable -Wswitch-enum and -Wswitch-default · 43c212ac
      Benjamin Otte authored
      This patch makes that work using 1 of 2 options:
      1. Add all missing enums to the switch statement
      2. Cast the switch argument to a uint to avoid having to do that (mostly
         for GdkEventType).
      I even found a bug while doing that: clearing a GtkImage with a surface
      did not notify thae surface property.
      The reason for enabling this flag even though it is tedious at times is
      that it is very useful when adding values to an enum, because it makes
      GTK immediately warn about all the switch statements where this enum is
      And I expect changes to enums to be frequent during the GTK4 development
  10. 28 Sep, 2017 1 commit
    • Matthias Clasen's avatar
      gsk: Change the profiler setup · 72d043d5
      Matthias Clasen authored
      Move away from the idea of intra-frame sampling, since we only
      push samples once per frame, anyway. Instead, make the profiler
      keep a rolling average of the last n frames.
  11. 25 Sep, 2017 1 commit
  12. 27 Mar, 2017 1 commit
  13. 19 Mar, 2017 1 commit
  14. 18 Mar, 2017 1 commit
  15. 17 Mar, 2017 1 commit
    • Alexander Larsson's avatar
      Allow custom renderer for the inspector · 1fe4b138
      Alexander Larsson authored
      If you set GTK_INSPECTOR_RENDERER to the same type of
      values that GSK_RENDERER takes this can change the renderer
      used for the inspector. This is useful if you're debugging
      one renderer and don't want to affect the inspector.
  16. 26 Dec, 2016 1 commit
    • Benjamin Otte's avatar
      gsk: Add GSK_RENDERING_MODE=full-redraw · 68b39a47
      Benjamin Otte authored
      Forces a full redraw every frame.
      This is done generically, so it's supported on every renderer.
      For widget-factory first page (with the spinner spinning and progressbar
      pulsing), I get these numbers per frame:
      action                  clipped         full redraw
      snapshot                   0ms           7-10ms
      cairo rendering            0ms          10-15ms
      Vulkan rendering         3-5ms          18-20ms
      Vulkan expected *          0ms            1-2ms
      GL rendering            unsupported     55-62ms
      * expected means disabling rendering of unsupported render nodes,
      instead of doing fallback drawing. So it overestimates the performance,
      because borders and box-shadows are disabled.
  17. 23 Dec, 2016 2 commits
  18. 21 Dec, 2016 1 commit
  19. 20 Dec, 2016 4 commits
  20. 09 Dec, 2016 3 commits
  21. 05 Dec, 2016 4 commits
  22. 30 Nov, 2016 3 commits
  23. 16 Nov, 2016 1 commit
    • Benjamin Otte's avatar
      gsk: Rework GskTexture · 40565fb0
      Benjamin Otte authored
      We do no longer bind textures to a renderer, instead they are a way for
      applications to provide texture data.
      For now, that's it. We've reverted to uploading it from scratch every
  24. 08 Nov, 2016 1 commit
  25. 01 Nov, 2016 1 commit