aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/GL
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-02-20 12:54:14 +0100
committerftrapero <frantracer@gmail.com>2017-06-15 14:16:38 +0200
commitc20b946b4abe2aeccfdb85e54f38e65041948741 (patch)
treedb7df26245e2ea177592f7f9cc4ecca1dea87d0a /nx-X11/programs/Xserver/GL
parent209657f69055b17b00c3db3f99c7f411a6e8d176 (diff)
downloadnx-libs-c20b946b4abe2aeccfdb85e54f38e65041948741.tar.gz
nx-libs-c20b946b4abe2aeccfdb85e54f38e65041948741.tar.bz2
nx-libs-c20b946b4abe2aeccfdb85e54f38e65041948741.zip
Mesa subtree: Adapt build process for building against Mesa that gets pulled in via git subtree.
Diffstat (limited to 'nx-X11/programs/Xserver/GL')
-rw-r--r--nx-X11/programs/Xserver/GL/include/GL/glx_ansic.h5
-rw-r--r--nx-X11/programs/Xserver/GL/include/GL/xf86glx.h1
-rw-r--r--nx-X11/programs/Xserver/GL/mesa/main/WSDrawBuffer.h27
3 files changed, 33 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/GL/include/GL/glx_ansic.h b/nx-X11/programs/Xserver/GL/include/GL/glx_ansic.h
new file mode 100644
index 000000000..2f7cff193
--- /dev/null
+++ b/nx-X11/programs/Xserver/GL/include/GL/glx_ansic.h
@@ -0,0 +1,5 @@
+/* no-op file to make current Mesa happy */
+
+#ifndef _glx_ansic_h_
+#define _glx_ansic_h_
+#endif
diff --git a/nx-X11/programs/Xserver/GL/include/GL/xf86glx.h b/nx-X11/programs/Xserver/GL/include/GL/xf86glx.h
new file mode 100644
index 000000000..5ddc70a15
--- /dev/null
+++ b/nx-X11/programs/Xserver/GL/include/GL/xf86glx.h
@@ -0,0 +1 @@
+/* no-op file to make current Mesa happy */
diff --git a/nx-X11/programs/Xserver/GL/mesa/main/WSDrawBuffer.h b/nx-X11/programs/Xserver/GL/mesa/main/WSDrawBuffer.h
new file mode 100644
index 000000000..bf6ea040c
--- /dev/null
+++ b/nx-X11/programs/Xserver/GL/mesa/main/WSDrawBuffer.h
@@ -0,0 +1,27 @@
+/**************************************************************************/
+/* */
+/* Copyright (c) 2001, 2011 NoMachine (http://www.nomachine.com) */
+/* Copyright (c) 2008-2014 Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> */
+/* Copyright (c) 2011-2016 Mike Gabriel <mike.gabriel@das-netzwerkteam.de>*/
+/* Copyright (c) 2014-2016 Mihai Moldovan <ionic@ionic.de> */
+/* Copyright (c) 2014-2016 Ulrich Sibiller <uli42@gmx.de> */
+/* Copyright (c) 2015-2016 Qindel Group (http://www.qindel.com) */
+/* */
+/* NXAGENT, NX protocol compression and NX extensions to this software */
+/* are copyright of the aforementioned persons and companies. */
+/* */
+/* Redistribution and use of the present software is allowed according */
+/* to terms specified in the file LICENSE which comes in the source */
+/* distribution. */
+/* */
+/* All rights reserved. */
+/* */
+/**************************************************************************/
+
+typedef struct _WSDrawBufferRec {
+ GLframebuffer *DrawBuffer;
+ struct _WSDrawBufferRec *next;
+} WSDrawBufferRec, *WSDrawBufferPtr;
+
+WSDrawBufferPtr pWSDrawBuffer;
+