2014-10-09 08:45:44 +00:00
|
|
|
/* GDK - The GIMP Drawing Kit
|
|
|
|
*
|
|
|
|
* gdkglcontext-x11.c: X11 specific OpenGL wrappers
|
|
|
|
*
|
|
|
|
* Copyright © 2014 Emmanuele Bassi
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Library General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Library General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
|
|
|
|
#include "gdkglcontext-x11.h"
|
|
|
|
#include "gdkdisplay-x11.h"
|
2016-10-27 21:27:49 +00:00
|
|
|
#include "gdkprivate-x11.h"
|
2014-10-09 08:45:44 +00:00
|
|
|
#include "gdkscreen-x11.h"
|
|
|
|
|
|
|
|
#include "gdkx11display.h"
|
|
|
|
#include "gdkx11glcontext.h"
|
|
|
|
#include "gdkx11screen.h"
|
2014-10-29 12:33:08 +00:00
|
|
|
#include "gdkx11property.h"
|
|
|
|
#include <X11/Xatom.h>
|
2014-10-09 08:45:44 +00:00
|
|
|
|
|
|
|
#include "gdkintl.h"
|
|
|
|
|
2021-03-16 08:51:40 +00:00
|
|
|
#include <cairo-xlib.h>
|
2014-10-09 08:45:44 +00:00
|
|
|
|
2014-10-22 18:37:58 +00:00
|
|
|
#include <epoxy/glx.h>
|
2014-10-09 08:45:44 +00:00
|
|
|
|
2021-05-10 14:07:08 +00:00
|
|
|
G_DEFINE_ABSTRACT_TYPE (GdkX11GLContext, gdk_x11_gl_context, GDK_TYPE_GL_CONTEXT)
|
2015-10-06 17:59:35 +00:00
|
|
|
|
2014-10-09 08:45:44 +00:00
|
|
|
static void
|
|
|
|
gdk_x11_gl_context_class_init (GdkX11GLContextClass *klass)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
static void
|
|
|
|
gdk_x11_gl_context_init (GdkX11GLContext *self)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|