Remove GdkGLProfile

Desktop / GNOME / GTK - Emmanuele Bassi [gnome.org] - 12 February 2015 11:51 UTC

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

d066e75 Remove GdkGLProfile
docs/reference/gdk/gdk3-sections.txt | 3 -
gdk/gdkglcontext.c | 75 ----------------------
gdk/gdkglcontext.h | 5 --
gdk/gdktypes.h | 16 -----
gdk/mir/gdkmirglcontext.c | 13 ----
gdk/wayland/gdkglcontext-wayland.c | 15 +----
gdk/win32/gdkglcontext-win32.c | 116 +++++++++++++---------------------
gdk/x11/gdkglcontext-x11.c | 65 ++++++-------------
gdk/x11/gdkglcontext-x11.h | 1 -
gtk/gtkglarea.c | 80 +----------------------
gtk/gtkglarea.h | 5 --
11 files changed, 68 insertions(+), 326 deletions(-)

Upstream: git.gnome.org


  • Share