Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit - enable EGL on x86/arm64 (XXX also do evbarm32)
details: https://anonhg.NetBSD.org/xsrc/rev/30a3a2a7f6f6
branches: trunk
changeset: 10267:30a3a2a7f6f6
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Apr 16 21:34:44 2019 +0000
description:
- enable EGL on x86/arm64 (XXX also do evbarm32)
- enable gbm/glamor in the server.
diffstat:
external/mit/libepoxy/dist/src/dispatch_common.h | 8 ++++++--
external/mit/xorg-server/include/dix-config.h | 2 --
2 files changed, 6 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 2a52f890122a -r 30a3a2a7f6f6 external/mit/libepoxy/dist/src/dispatch_common.h
--- a/external/mit/libepoxy/dist/src/dispatch_common.h Mon Apr 15 20:32:43 2019 +0000
+++ b/external/mit/libepoxy/dist/src/dispatch_common.h Tue Apr 16 21:34:44 2019 +0000
@@ -39,8 +39,12 @@
#define PLATFORM_HAS_WGL 0
#define EPOXY_IMPORTEXPORT
#else
-#ifdef __NetBSD__ /* XXX enable egl in xsrc */
-#define PLATFORM_HAS_EGL 0
+#ifdef __NetBSD__
+# if defined(__amd64__) || defined(__i386__) || defined(__aarch64__) // XXX evbarm32
+# define PLATFORM_HAS_EGL 1
+# else
+# define PLATFORM_HAS_EGL 0
+# endif
#else
#define PLATFORM_HAS_EGL 1
#endif
diff -r 2a52f890122a -r 30a3a2a7f6f6 external/mit/xorg-server/include/dix-config.h
--- a/external/mit/xorg-server/include/dix-config.h Mon Apr 15 20:32:43 2019 +0000
+++ b/external/mit/xorg-server/include/dix-config.h Tue Apr 16 21:34:44 2019 +0000
@@ -488,10 +488,8 @@
/* Build GLAMOR */
#define GLAMOR 1
-#if 0
/* Build glamor's GBM-based EGL support */
#define GLAMOR_HAS_GBM 1
-#endif
/* Build glamor/gbm has linear support */
#define GLAMOR_HAS_GBM_LINEAR 1
Home |
Main Index |
Thread Index |
Old Index