1. 09 May, 2017 1 commit
    • Emmanuele Bassi's avatar
      build: Don't include the marshallers header file · d9e0ea29
      Emmanuele Bassi authored
      We used to inject the inclusion of the generated header file into the
      generated body of the marshallers source code in order to avoid compiler
      warnings about missing prototypes. The glib-genmarshal utility has been
      fixed in GLib to include the prototype in the generated source, so now
      we're going to trip -Werror=redundant-decls.
  2. 31 Oct, 2016 1 commit
  3. 23 Aug, 2016 1 commit
    • Carlos Garnacho's avatar
      gdk: Add GdkDevicePad · b8a77d4d
      Carlos Garnacho authored
      This is an interface meant to be implemented by the "pad" devices.
      This device-specific interface exposes the mapping of all pad features,
      it allows retrieving:
      - The number of buttons/rings/strips
      - The number of groups
      - The number of modes a group has
      - Whether a given button/ring/strip belongs to a given group
  4. 11 Aug, 2016 1 commit
  5. 23 Jul, 2016 1 commit
    • Matthias Clasen's avatar
      Opt in to structured logging · 82fd72a4
      Matthias Clasen authored
      Define G_LOG_USE_STRUCTURED, so that all our g_debug, g_warning,
      etc calls directly use structured logging and provide source information.
  6. 09 Jun, 2016 1 commit
  7. 09 May, 2016 1 commit
  8. 28 Apr, 2016 1 commit
  9. 25 Apr, 2016 2 commits
  10. 19 Apr, 2016 1 commit
    • Chun-wei Fan's avatar
      MSVC builds: Update how introspection builds are done · 9a87b6be
      Chun-wei Fan authored
      This first adds a common autotools module that can be included by
      the Makefile.am's to generate the file lists and the g-ir-scanner/
      g-ir-compiler command lines to build the introspection files.
      The autotools files for gdk/ and gtk/ are then updated to generate
      the full file lists needed to build the introspection files, with
      the full command lines for g-ir-scanner and g-ir-compiler as NMake
      Makefile modules that can be used to build the introspection files
      for Visual Studio builds.
  11. 09 Apr, 2016 1 commit
  12. 28 Feb, 2016 1 commit
    • Paolo Borelli's avatar
      win32: move gdkvisual code in gdkscreen · e48bd2e0
      Paolo Borelli authored
      Except for the init function, all the visual related code is made
      of gdkscreen vfuncs, so let's move it to gdkscreen-win32. This way
      we avoid keeping other static variables and instead store the info
      inside the screen struct.
  13. 22 Feb, 2016 1 commit
  14. 15 Jan, 2016 1 commit
  15. 14 Dec, 2015 2 commits
  16. 15 Sep, 2015 2 commits
    • Chun-wei Fan's avatar
      MSVC Builds: Massive Rename of Projects · 6423a02c
      Chun-wei Fan authored
      We need to rename the projects so that when these projects are added
      into an all-in-one solution file that will build the GTK+ 2/3 stack,
      the names of the projects will not collide with the GTK+-2.x ones,
      especially as GTK+-2.x and GTK+-3.x are done to co-exist on the same
      system.  This is due to the case that the MSVC projects are directly
      carried over from the GTK+-2.x ones and was then updated for 3.x.
      We still need to update the GUIDs of the projects, so that they won't
      conflict with the GTK+-2.x ones.
    • Chun-wei Fan's avatar
      build: Clean Up Visual Studio Project Generation · d836a52b
      Chun-wei Fan authored
      Use the common automake module from the previous commit in the
      Makefile.am's, which means that the Makefile.am's in gdk/ and gtk/ can be
      cleaned up as a result.  As a side effect, the property sheet that is used
      to "install" the build results and headers can now be generated in terms of
      the listing of headers to copy during 'make dist', where we can acquire
      most of the list of headers to "install", so that we can largely avoid the
      situation where the property sheet files are not updated in time for this,
      causing missing headers when this build of GTK+ is being used.
      Also use the Visual Studio Project file generation for the following
      So that the maintenace of these project files can be simplified as well.
  17. 02 Feb, 2015 1 commit
  18. 13 Dec, 2014 1 commit
  19. 30 Nov, 2014 1 commit
  20. 08 Nov, 2014 1 commit
    • Emmanuele Bassi's avatar
      Make global GDK libgtk_only functions more private · eedbec20
      Emmanuele Bassi authored
      The current way of exposing GDK API that should be considered internal
      to GTK+ is to append a 'libgtk_only' suffix to the function name; this
      is not really safe.
      GLib has been using a slightly different approach: a private table of
      function pointers, and a macro that allows accessing the desired symbol
      inside that vtable.
      We can copy the approach, and deprecate the 'libgtk_only' symbols in
      lieu of outright removal.
  21. 22 Oct, 2014 1 commit
  22. 13 Oct, 2014 1 commit
    • Alexander Larsson's avatar
      gdk: Add support for OpenGL · 038aac62
      Alexander Larsson authored
      This adds the new type GdkGLContext that wraps an OpenGL context for a
      particular native window. It also adds support for the gdk paint
      machinery to use OpenGL to draw everything. As soon as anyone creates
      a GL context for a native window we create a "paint context" for that
      GdkWindow and switch to using GL for painting it.
      This commit contains only an implementation for X11 (using GLX).
      The way painting works is that all client gl contexts draw into
      offscreen buffers rather than directly to the back buffer, and the
      way something gets onto the window is by using gdk_cairo_draw_from_gl()
      to draw part of that buffer onto the draw cairo context.
      As a fallback (if we're doing redirected drawing or some effect like a
      cairo_push_group()) we read back the gl buffer into memory and composite
      using cairo. This means that GL rendering works in all cases, including
      rendering to a PDF. However, this is not particularly fast.
      In the *typical* case, where we're drawing directly to the window in
      the regular paint loop we hit the fast path. The fast path uses opengl
      to draw the buffer to the window back buffer, either by blitting or
      texturing. Then we track the region that was drawn, and when the draw
      ends we paint the normal cairo surface to the window (using
      texture-from-pixmap in the X11 case, or texture from cairo image
      otherwise) in the regions where there is no gl painted.
      There are some complexities wrt layering of gl and cairo areas though:
      * We track via gdk_window_mark_paint_from_clip() whenever gtk is
        painting over a region we previously rendered with opengl
        (flushed_region). This area (needs_blend_region) is blended
        rather than copied at the end of the frame.
      * If we're drawing a gl texture with alpha we first copy the current
        cairo_surface inside the target region to the back buffer before
        we blend over it.
      These two operations allow us full stacking of transparent gl and cairo
  23. 15 Sep, 2014 1 commit
  24. 13 Aug, 2014 1 commit
  25. 11 Jul, 2014 2 commits
  26. 22 Jun, 2014 1 commit
  27. 03 Jun, 2014 1 commit
  28. 22 May, 2014 1 commit
  29. 01 Apr, 2014 2 commits
  30. 05 Jan, 2014 1 commit
  31. 02 Aug, 2013 1 commit
    • Chun-wei Fan's avatar
      Add Visual Studio Build Support for Broadway · dcb766c4
      Chun-wei Fan authored
      -Add Visual Studio 2008 projects and pre-configured gdkconfig.h for
       Broadway builds
      -Decouple the Visual Studio property sheets, to simplify maintenance and
       enhance flexibility for different builds
      Visual Studio 2010 projects updates will follow later.
  32. 15 May, 2013 2 commits
  33. 09 May, 2013 1 commit
  34. 07 May, 2013 1 commit