diff options
author | Keith Packard <keithp@keithp.com> | 2013-04-09 21:35:52 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-11-07 14:02:37 -0800 |
commit | 7a9373078e69b2cb2753570f91e5c31062ba25f8 (patch) | |
tree | b97cf0948f67ddad0cd957b14e913fa72bd9fbac | |
parent | 93d733e85ded5e92292d36fc7025f0c8ff7b1167 (diff) |
Add DRI3 library
Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-By: Uli Schlachter <psychon@znc.in>
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | src/.gitignore | 1 | ||||
-rw-r--r-- | src/Makefile.am | 8 | ||||
-rw-r--r-- | xcb-dri3.pc.in | 11 |
5 files changed, 26 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 961595b..c9fcf08 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,6 +18,9 @@ endif if BUILD_DRI2 pkgconfig_DATA += xcb-dri2.pc endif +if BUILD_DRI3 +pkgconfig_DATA += xcb-dri3.pc +endif if BUILD_GLX pkgconfig_DATA += xcb-glx.pc endif diff --git a/configure.ac b/configure.ac index 82b3676..42288de 100644 --- a/configure.ac +++ b/configure.ac @@ -184,6 +184,7 @@ XCB_EXTENSION(Composite, "yes") XCB_EXTENSION(Damage, "yes") XCB_EXTENSION(DPMS, "yes") XCB_EXTENSION(DRI2, "yes") +XCB_EXTENSION(DRI3, "$have_sendmsg") XCB_EXTENSION(GLX, "yes") XCB_EXTENSION(RandR, "yes") XCB_EXTENSION(Record, "yes") @@ -228,6 +229,7 @@ xcb-composite.pc xcb-damage.pc xcb-dpms.pc xcb-dri2.pc +xcb-dri3.pc xcb-glx.pc xcb-randr.pc xcb-record.pc @@ -273,6 +275,7 @@ echo " Composite...........: ${BUILD_COMPOSITE}" echo " Damage..............: ${BUILD_DAMAGE}" echo " Dpms................: ${BUILD_DPMS}" echo " Dri2................: ${BUILD_DRI2}" +echo " Dri3................: ${BUILD_DRI3}" echo " Glx.................: ${BUILD_GLX}" echo " Randr...............: ${BUILD_RANDR}" echo " Record..............: ${BUILD_RECORD}" diff --git a/src/.gitignore b/src/.gitignore index a402afe..71a7341 100644 --- a/src/.gitignore +++ b/src/.gitignore @@ -3,6 +3,7 @@ composite.* damage.* dpms.* dri2.* +dri3.* glx.* randr.* record.* diff --git a/src/Makefile.am b/src/Makefile.am index f48e14e..9d6d246 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -56,6 +56,14 @@ libxcb_dri2_la_LIBADD = $(XCB_LIBS) nodist_libxcb_dri2_la_SOURCES = dri2.c dri2.h endif +EXTSOURCES += dri3.c +if BUILD_DRI3 +lib_LTLIBRARIES += libxcb-dri3.la +libxcb_dri3_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@ +libxcb_dri3_la_LIBADD = $(XCB_LIBS) +nodist_libxcb_dri3_la_SOURCES = dri3.c dri3.h +endif + EXTSOURCES += glx.c if BUILD_GLX lib_LTLIBRARIES += libxcb-glx.la diff --git a/xcb-dri3.pc.in b/xcb-dri3.pc.in new file mode 100644 index 0000000..0eb7390 --- /dev/null +++ b/xcb-dri3.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: XCB DRI3 +Description: XCB DRI3 Extension +Version: @PACKAGE_VERSION@ +Requires: xcb +Libs: -L${libdir} -lxcb-dri3 +Cflags: -I${includedir} |