summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-11-01 20:42:32 +0000
committerwiz <wiz@pkgsrc.org>2013-11-01 20:42:32 +0000
commit7177d0877ad9eccdb56d9e6460630c301b9f6ae4 (patch)
treea5f53b8bd58a1a763e7233d6b5459c6e39074508 /x11
parentaae55f761176949d96032df8c562d1c990c6d2c5 (diff)
downloadpkgsrc-7177d0877ad9eccdb56d9e6460630c301b9f6ae4.tar.gz
Import dri3proto-1.0 as x11/dri3proto.
The DRI3 extension provides mechanisms to translate between direct rendered buffers and X pixmaps. When combined with the Present extension, a complete direct rendering solution for OpenGL is provided. The direct rendered buffers are passed across the protocol via standard POSIX file descriptor passing mechanisms. On Linux, these buffers are DMA-BUF objects. DRI3 also includes a mechanism to translate between Linux Futexes and X Sync extension Fences. This provides a synchronization mechanism which can be used to serialize access to shared render buffers.
Diffstat (limited to 'x11')
-rw-r--r--x11/dri3proto/DESCR13
-rw-r--r--x11/dri3proto/Makefile19
-rw-r--r--x11/dri3proto/PLIST4
-rw-r--r--x11/dri3proto/distinfo5
4 files changed, 41 insertions, 0 deletions
diff --git a/x11/dri3proto/DESCR b/x11/dri3proto/DESCR
new file mode 100644
index 00000000000..1d89fa0a756
--- /dev/null
+++ b/x11/dri3proto/DESCR
@@ -0,0 +1,13 @@
+The DRI3 extension provides mechanisms to translate between direct
+rendered buffers and X pixmaps. When combined with the Present
+extension, a complete direct rendering solution for OpenGL is
+provided.
+
+The direct rendered buffers are passed across the protocol via
+standard POSIX file descriptor passing mechanisms. On Linux, these
+buffers are DMA-BUF objects.
+
+DRI3 also includes a mechanism to translate between Linux Futexes
+and X Sync extension Fences. This provides a synchronization
+mechanism which can be used to serialize access to shared render
+buffers.
diff --git a/x11/dri3proto/Makefile b/x11/dri3proto/Makefile
new file mode 100644
index 00000000000..4286bf6bf9b
--- /dev/null
+++ b/x11/dri3proto/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2013/11/01 20:42:32 wiz Exp $
+
+DISTNAME= dri3proto-1.0
+CATEGORIES= x11
+MASTER_SITES= http://xorg.freedesktop.org/archive/individual/proto/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+#HOMEPAGE=
+COMMENT= X11 extension for Direct Rendering Infrastructure V3
+#LICENSE= # TODO: (see mk/license.mk)
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c
+
+PKGCONFIG_OVERRIDE+= dri3proto.pc.in
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/dri3proto/PLIST b/x11/dri3proto/PLIST
new file mode 100644
index 00000000000..fea812dcc00
--- /dev/null
+++ b/x11/dri3proto/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2013/11/01 20:42:32 wiz Exp $
+include/X11/extensions/dri3proto.h
+lib/pkgconfig/dri3proto.pc
+share/doc/dri3proto/dri3proto.txt
diff --git a/x11/dri3proto/distinfo b/x11/dri3proto/distinfo
new file mode 100644
index 00000000000..cc3bdc85130
--- /dev/null
+++ b/x11/dri3proto/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/11/01 20:42:32 wiz Exp $
+
+SHA1 (dri3proto-1.0.tar.bz2) = 1007eaa2f83022653a224f7d2e676ea51cba2f2b
+RMD160 (dri3proto-1.0.tar.bz2) = e6cca0d2b5ca91c80de57ee1bc185a814ef397ba
+Size (dri3proto-1.0.tar.bz2) = 105366 bytes