1 /* GDK - The GIMP Drawing Kit 2 * 3 * gdkglcontext-x11.c: X11 specific OpenGL wrappers 4 * 5 * Copyright © 2014 Emmanuele Bassi 6 * 7 * This library is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU Library General Public 9 * License as published by the Free Software Foundation; either 10 * version 2 of the License, or (at your option) any later version. 11 * 12 * This library is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * Library General Public License for more details. 16 * 17 * You should have received a copy of the GNU Library General Public 18 * License along with this library. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 21 #include "config.h" 22 23 #include "gdkglcontext-x11.h" 24 #include "gdkdisplay-x11.h" 25 #include "gdkprivate-x11.h" 26 #include "gdkscreen-x11.h" 27 28 #include "gdkx11display.h" 29 #include "gdkx11glcontext.h" 30 #include "gdkx11screen.h" 31 #include "gdkx11surface.h" 32 #include "gdkx11property.h" 33 #include <X11/Xatom.h> 34 35 #include "gdkinternals.h" 36 37 #include "gdkintl.h" 38 39 #include <cairo-xlib.h> 40 41 #include <epoxy/glx.h> 42 G_DEFINE_ABSTRACT_TYPE(GdkX11GLContext,gdk_x11_gl_context,GDK_TYPE_GL_CONTEXT)43G_DEFINE_ABSTRACT_TYPE (GdkX11GLContext, gdk_x11_gl_context, GDK_TYPE_GL_CONTEXT) 44 45 static void 46 gdk_x11_gl_context_class_init (GdkX11GLContextClass *klass) 47 { 48 } 49 50 static void gdk_x11_gl_context_init(GdkX11GLContext * self)51gdk_x11_gl_context_init (GdkX11GLContext *self) 52 { 53 } 54 55