Add DRI3 library
Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-By: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
53087b12e2
commit
a22ffa399a
|
@ -16,6 +16,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
|
||||
|
|
|
@ -191,6 +191,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")
|
||||
|
@ -235,6 +236,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
|
||||
|
@ -279,6 +281,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}"
|
||||
|
|
|
@ -3,6 +3,7 @@ composite.*
|
|||
damage.*
|
||||
dpms.*
|
||||
dri2.*
|
||||
dri3.*
|
||||
glx.*
|
||||
randr.*
|
||||
record.*
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}
|
Loading…
Reference in New Issue