1. 13 Oct, 2014 10 commits
    • Alexander Larsson's avatar
      Add gdk_window_mark_paint_from_clip and call from widget drawing · d0147a6f
      Alexander Larsson authored
      This is a new function that gets called every time we're drawing
      some area in the Gtk paint machinery. It is a no-op right now, but
      it will be required later to keep track of what areas which
      we previously rendered with GL was overwritten with cairo contents.
    • Alexander Larsson's avatar
      Change the way the update area is tracked during paint · a8f11835
      Alexander Larsson authored
      First of all we track the current update area during an
      update in window->active_update_area. This will be used later
      in end_paint to know the damaged area.
      Secondly we keep track of old update areas for the last 2
      frames. This will later allow us to reuse old framebuffer
      contents in double or tripple buffer setups, only painting
      what has changed since then.
    • Alexander Larsson's avatar
      Add internal gdk_cairo_region_from_clip helper · ceeed1c4
      Alexander Larsson authored
      This extract the current cairo clip region if possible and
      returns it as a cairo_region_T. It will be needed by later code.
    • Emmanuele Bassi's avatar
      build: Require libepoxy · 892c6bd6
      Emmanuele Bassi authored
      If we want to use OpenGL in GDK then we have two choices; either:
        - find the GL headers on each platform
        - do extension discovery
        - implement all the crazy dlopen()/dlsym() dispatch tables
      *or* use libepoxy, which shields us from all this madness and provides a
      decent layer for GL clients to use, without creating its own namespace.
      Epoxy is also used by other projects, like Xorg and piglit, and it's
      portable to all the platforms GDK cares about.
    • Marek Kašík's avatar
      Get duplex option via IPP · 493aa4e9
      Marek Kašík authored
      Request "sides-supported" and "sides-default" attributes through
      IPP if there is no PPD for selected printer.
      Pass "sides" option with other options in printer_get_options().
      Add function setup_ipp_option() for creating of IPP option
      of given name with passed choices and default value.
      Mark such an option as "is-ipp-option" so we can distinguish it
    • Jasper St. Pierre's avatar
      gdkwindow-x11: Fix graphical regression from 5e325c4 · ea21c456
      Jasper St. Pierre authored
      Before 5e325c4, the default BitGravity was NorthWestGravity.
      When static gravities were removed in 5e325c4, the BitGravity regressed
      to the X11 default, Forget. Forget causes giant graphical glitches and
      black flashes when resizing, especially in some environments that aren't
      synchronized to a paint clock yet, like XWayland.
      I'm assuming that the author assumed that the default of BitGravity was
      NorthWestGravity, which is the default of WinGravity. Just go ahead and
      fix this regression to make resizing look smooth again.
    • Benjamin Otte's avatar
      switch: Use trough style class by default · abfc9cd4
      Benjamin Otte authored
      This allows animating the trough, and saves a save/restore pair.
    • Benjamin Otte's avatar
      switch: Set PRELIGHT state on widget · d1118071
      Benjamin Otte authored
    • Benjamin Otte's avatar
      progressbar: Make the trough the default element · 3534225c
      Benjamin Otte authored
      Gets rid of a bunch of save/restore calls and allows animating the
      background (but not the slider, booo!)
    • Benjamin Otte's avatar
      viewport: Remove wrong save/restore · b09fbadd
      Benjamin Otte authored
  2. 12 Oct, 2014 16 commits
  3. 11 Oct, 2014 14 commits