Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
E.h Makefile.am events.c
Log Message:
Initial GLX configuration support.
===================================================================
RCS file: /cvs/e/e16/e/src/E.h,v
retrieving revision 1.577
retrieving revision 1.578
diff -u -3 -r1.577 -r1.578
--- E.h 1 Feb 2007 01:23:40 -0000 1.577
+++ E.h 25 Feb 2007 02:27:41 -0000 1.578
@@ -57,6 +57,10 @@
#define USE_COMPOSITE 1
#endif
+#ifdef HAVE_GLX
+#define USE_GLX 1
+#endif
+
#include "xwin.h"
#define ENABLE_COLOR_MODIFIERS 0 /* Not functional */
@@ -185,6 +189,8 @@
#define XEXT_DAMAGE 5
#define XEXT_FIXES 6
#define XEXT_RENDER 7
+#define XEXT_GLX 8
+
#define XEXT_CM_ALL 16
#define XEXT_AVAILABLE(ext) (Mode.server.extensions & (1 << ext))
===================================================================
RCS file: /cvs/e/e16/e/src/Makefile.am,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -3 -r1.82 -r1.83
--- Makefile.am 24 Feb 2007 02:12:02 -0000 1.82
+++ Makefile.am 25 Feb 2007 02:27:41 -0000 1.83
@@ -112,6 +112,7 @@
$(ECORE_LIBS) \
$(ESD_LIBS) \
$(IMLIB2_LIBS) \
+ $(GLX_LIBS) \
$(XFT_LIBS) \
$(X_PRE_LIBS) \
$(X_LIBS) \
===================================================================
RCS file: /cvs/e/e16/e/src/events.c,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -3 -r1.135 -r1.136
--- events.c 2 Feb 2007 04:35:20 -0000 1.135
+++ events.c 25 Feb 2007 02:27:41 -0000 1.136
@@ -44,6 +44,9 @@
#include <X11/extensions/Xfixes.h>
#include <X11/extensions/Xrender.h>
#endif
+#if USE_GLX
+#include <GL/glx.h>
+#endif
#if ENABLE_DEBUG_EVENTS
static const char *EventName(unsigned int type);
@@ -162,6 +165,9 @@
{"Damage", XEXT_DAMAGE, XDamageQueryExtension, XDamageQueryVersion, NULL},
{"Fixes", XEXT_FIXES, XFixesQueryExtension, XFixesQueryVersion, NULL},
{"Render", XEXT_RENDER, XRenderQueryExtension, XRenderQueryVersion, NULL},
+#endif
+#if USE_GLX
+ {"GLX", XEXT_GLX, glXQueryExtension, glXQueryVersion, NULL},
#endif
};
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs