aboutsummaryrefslogtreecommitdiff
path: root/x11/virtualgl/files
diff options
context:
space:
mode:
authorKa Ho Ng <khng@FreeBSD.org>2021-12-06 00:24:40 +0000
committerKa Ho Ng <khng@FreeBSD.org>2021-12-06 00:28:01 +0000
commitefef6dc621a53adfd34b72ec3040ee741cc12a10 (patch)
tree2232af004effd1bbfcd392f9bb8f2283a9b0212a /x11/virtualgl/files
parent35fd43b7dbf85f3a79dbf0f9e08d45cd787ca94a (diff)
downloadports-efef6dc621a53adfd34b72ec3040ee741cc12a10.tar.gz
ports-efef6dc621a53adfd34b72ec3040ee741cc12a10.zip
x11/virtualgl: Update to 3.0
The most significant update is the addition of EGL backend. To use the backend with the default GPU, specify VGL_DISPLAY=EGL in the environment variables. PR: 260244 Sponsored by: The FreeBSD Foundation Approved by: ygy Differential Revision: https://reviews.freebsd.org/D33281
Diffstat (limited to 'x11/virtualgl/files')
-rw-r--r--x11/virtualgl/files/patch-server__fakerconfig.cpp11
-rw-r--r--x11/virtualgl/files/patch-server_faker-glx.cpp24
-rw-r--r--x11/virtualgl/files/patch-server_faker-sym.h11
3 files changed, 0 insertions, 46 deletions
diff --git a/x11/virtualgl/files/patch-server__fakerconfig.cpp b/x11/virtualgl/files/patch-server__fakerconfig.cpp
deleted file mode 100644
index e5dd516d404f..000000000000
--- a/x11/virtualgl/files/patch-server__fakerconfig.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- server/fakerconfig.cpp.orig 2019-10-20 21:29:00 UTC
-+++ server/fakerconfig.cpp
-@@ -97,7 +97,7 @@ FakerConfig *fconfig_getinstance(void)
- if((addr = shmat(fconfig_shmid, 0, 0)) == (void *)-1) THROW_UNIX();
- if(!addr)
- THROW("Could not attach to config structure in shared memory");
-- #ifdef linux
-+ #if defined(linux) || defined(__FreeBSD__)
- shmctl(fconfig_shmid, IPC_RMID, 0);
- #endif
- char *env = NULL;
diff --git a/x11/virtualgl/files/patch-server_faker-glx.cpp b/x11/virtualgl/files/patch-server_faker-glx.cpp
deleted file mode 100644
index 6fb9d381ce39..000000000000
--- a/x11/virtualgl/files/patch-server_faker-glx.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
---- server/faker-glx.cpp.orig 2019-10-20 21:29:00 UTC
-+++ server/faker-glx.cpp
-@@ -2192,11 +2192,10 @@ void glXQueryDrawable(Display *dpy, GLXDrawable draw,
- CATCH();
- }
-
--int glXQueryGLXPbufferSGIX(Display *dpy, GLXPbuffer pbuf, int attribute,
-+void glXQueryGLXPbufferSGIX(Display *dpy, GLXPbuffer pbuf, int attribute,
- unsigned int *value)
- {
- glXQueryDrawable(dpy, pbuf, attribute, value);
-- return 0;
- }
-
-
-@@ -2359,7 +2358,7 @@ void glXSwapBuffers(Display *dpy, GLXDrawable drawable
- // Returns the transparent index from the overlay visual on the 2D X server
-
- int glXGetTransparentIndexSUN(Display *dpy, Window overlay, Window underlay,
-- long *transparentIndex)
-+ unsigned long *transparentIndex)
- {
- int retval = False;
- XWindowAttributes xwa;
diff --git a/x11/virtualgl/files/patch-server_faker-sym.h b/x11/virtualgl/files/patch-server_faker-sym.h
deleted file mode 100644
index 985d6bdea41e..000000000000
--- a/x11/virtualgl/files/patch-server_faker-sym.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- server/faker-sym.h.orig 2019-10-20 21:29:00 UTC
-+++ server/faker-sym.h
-@@ -536,7 +536,7 @@ FUNCDEF2(GLXFBConfigSGIX, glXGetFBConfigFromVisualSGIX
- // GLX_SUN_get_transparent_index
-
- FUNCDEF4(int, glXGetTransparentIndexSUN, Display *, dpy, Window, overlay,
-- Window, underlay, long *, transparentIndex, glXGetTransparentIndexSUN);
-+ Window, underlay, unsigned long *, transparentIndex, glXGetTransparentIndexSUN);
-
-
- // GL functions