1. 22 Nov, 2017 1 commit
  2. 10 Nov, 2016 1 commit
  3. 23 Oct, 2016 2 commits
  4. 21 Oct, 2016 2 commits
  5. 22 Sep, 2016 1 commit
  6. 23 May, 2016 1 commit
    • Emmanuele Bassi's avatar
      gl: Add a realize() fallback · fe684078
      Emmanuele Bassi authored
      Calling gdk_gl_context_realize() should always result in a valid result,
      so we need to provide a default implementation, to avoid a call to a
      NULL function pointer.
      fe684078
  7. 26 Apr, 2016 1 commit
    • Chun-wei Fan's avatar
      gdk/gdkglcontext.c: Avoid a GCCism · 7700243b
      Chun-wei Fan authored
      Pointer arithmetic on GLvoid* (a void*) is a GCCism, so cast it to an
      unsigned char*, which is the type cairo_image_surface_get_data() returns.
      7700243b
  8. 25 Apr, 2016 6 commits
  9. 29 Feb, 2016 1 commit
    • Matthias Clasen's avatar
      gdk: Don't use g_print for debug output · 2801f3c8
      Matthias Clasen authored
      The g_print documentation explicitly says not to do this, since
      g_print is meant to be redirected by applications. Instead use
      g_message for logging that can be triggered via GTK_DEBUG.
      2801f3c8
  10. 07 Oct, 2015 3 commits
  11. 19 Jul, 2015 1 commit
  12. 06 Mar, 2015 1 commit
  13. 12 Feb, 2015 3 commits
    • Emmanuele Bassi's avatar
      Remove GdkGLProfile · d066e754
      Emmanuele Bassi authored
      The existence of OpenGL implementations that do not provide the full
      core profile compatibility because of reasons beyond the technical, like
      llvmpipe not implementing floating point buffers, makes the existence of
      GdkGLProfile and documenting the fact that we use core profiles a bit
      harder.
      
      Since we do not have any existing profile except the default, we can
      remove the GdkGLProfile and its related API from GDK and GTK+, and sweep
      the whole thing under the carpet, while we wait for an extension that
      lets us ask for the most compatible profile possible.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=744407
      d066e754
    • Emmanuele Bassi's avatar
      gl: Add gdk_gl_context_get_version() · 390a42fa
      Emmanuele Bassi authored
      Store the OpenGL version when we first do the extensions check; this
      allows client code to check the available GL version without requiring a
      call to gdk_gl_context_make_current() and epoxy_gl_version().
      390a42fa
    • Emmanuele Bassi's avatar
      gl: Drop profile for gdk_window_create_gl_context() · 022724aa
      Emmanuele Bassi authored
      Now that we have a two-stages GL context creation sequence, we can move
      the profile to a pre-realize option, like the debug and forward
      compatibility bits, or the GL version to use.
      022724aa
  14. 10 Feb, 2015 1 commit
  15. 09 Feb, 2015 9 commits
  16. 28 Jan, 2015 1 commit
    • Niels Nesse's avatar
      Fix core context creation in GdkGLContext · 27cf0fa3
      Niels Nesse authored
      - Specifically request GL version when creating context. Just specifying core
      profile bit results in the requested version defaulting to 1.0 which causes
      the core profile bit to be ignored and an arbitrary compatability context to be
      returned.
      
      - Fix GL painting by removing GL calls that have been depricated by the 3.2 core
      profile.
      
      - Additionally remove glInvalidateFramebuffer() call, it is not supported by 3.2
      core.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=742953
      27cf0fa3
  17. 17 Dec, 2014 1 commit
    • Chun-wei Fan's avatar
      gdkgl: Use vfunc For Uploading Textures · 9fd9f61b
      Chun-wei Fan authored
      As the alignments, strides and image formats may be different across
      platforms, make the texture upload a vfunc to allow backends to override
      the GL commands for uploading textures for the software implementation for
      gdk_gl_texture_from_surface(), if necessary.
      
      Suggested by Alex to avoid copying non-trivial portions of code which would
      then add maintainenace burden.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=740795
      9fd9f61b
  18. 08 Nov, 2014 1 commit
  19. 07 Nov, 2014 1 commit
  20. 06 Nov, 2014 2 commits