xwayland: Move Xwayland GLX declaration
Move the Xwayland GLX declaration to its own header file. Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
This commit is contained in:
parent
808a0a038b
commit
4c644fd792
|
@ -16,6 +16,7 @@ Xwayland_SOURCES = \
|
||||||
xwayland-cursor.c \
|
xwayland-cursor.c \
|
||||||
xwayland-cursor.h \
|
xwayland-cursor.h \
|
||||||
xwayland-glamor.h \
|
xwayland-glamor.h \
|
||||||
|
xwayland-glx.h \
|
||||||
xwayland-pixmap.c \
|
xwayland-pixmap.c \
|
||||||
xwayland-pixmap.h \
|
xwayland-pixmap.h \
|
||||||
xwayland-present.h \
|
xwayland-present.h \
|
||||||
|
|
|
@ -5,6 +5,7 @@ srcs = [
|
||||||
'xwayland-cursor.c',
|
'xwayland-cursor.c',
|
||||||
'xwayland-cursor.h',
|
'xwayland-cursor.h',
|
||||||
'xwayland-glamor.h',
|
'xwayland-glamor.h',
|
||||||
|
'xwayland-glx.h',
|
||||||
'xwayland-pixmap.c',
|
'xwayland-pixmap.c',
|
||||||
'xwayland-pixmap.h',
|
'xwayland-pixmap.h',
|
||||||
'xwayland-present.h',
|
'xwayland-present.h',
|
||||||
|
|
|
@ -39,6 +39,7 @@
|
||||||
|
|
||||||
#include "xwayland.h"
|
#include "xwayland.h"
|
||||||
#include "xwayland-glamor.h"
|
#include "xwayland-glamor.h"
|
||||||
|
#include "xwayland-glx.h"
|
||||||
#include "xwayland-screen.h"
|
#include "xwayland-screen.h"
|
||||||
#include "xwayland-window.h"
|
#include "xwayland-window.h"
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,37 @@
|
||||||
|
/*
|
||||||
|
* Copyright © 2019 Red Hat, Inc.
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
* to deal in the Software without restriction, including without limitation
|
||||||
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||||
|
* and/or sell copies of the Software, and to permit persons to whom the
|
||||||
|
* Software is furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice (including the next
|
||||||
|
* paragraph) shall be included in all copies or substantial portions of the
|
||||||
|
* Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||||
|
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
|
* DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* Authors:
|
||||||
|
* Adam Jackson <ajax@redhat.com>
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef XWAYLAND_GLX_H
|
||||||
|
#define XWAYLAND_GLX_H
|
||||||
|
|
||||||
|
#include <xwayland-config.h>
|
||||||
|
|
||||||
|
#ifdef GLXEXT
|
||||||
|
#include "glx_extinit.h"
|
||||||
|
extern __GLXprovider glamor_provider;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* XWAYLAND_GLX_H */
|
|
@ -50,9 +50,4 @@
|
||||||
|
|
||||||
#define MODIFIER_META 0x01
|
#define MODIFIER_META 0x01
|
||||||
|
|
||||||
#ifdef GLXEXT
|
|
||||||
#include "glx_extinit.h"
|
|
||||||
extern __GLXprovider glamor_provider;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue