Add Present extension
Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-By: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
7a9373078e
commit
cca6074090
|
@ -24,6 +24,9 @@ endif
|
|||
if BUILD_GLX
|
||||
pkgconfig_DATA += xcb-glx.pc
|
||||
endif
|
||||
if BUILD_PRESENT
|
||||
pkgconfig_DATA += xcb-present.pc
|
||||
endif
|
||||
if BUILD_RANDR
|
||||
pkgconfig_DATA += xcb-randr.pc
|
||||
endif
|
||||
|
|
|
@ -186,6 +186,7 @@ XCB_EXTENSION(DPMS, "yes")
|
|||
XCB_EXTENSION(DRI2, "yes")
|
||||
XCB_EXTENSION(DRI3, "$have_sendmsg")
|
||||
XCB_EXTENSION(GLX, "yes")
|
||||
XCB_EXTENSION(Present, "yes")
|
||||
XCB_EXTENSION(RandR, "yes")
|
||||
XCB_EXTENSION(Record, "yes")
|
||||
XCB_EXTENSION(Render, "yes")
|
||||
|
@ -231,6 +232,7 @@ xcb-dpms.pc
|
|||
xcb-dri2.pc
|
||||
xcb-dri3.pc
|
||||
xcb-glx.pc
|
||||
xcb-present.pc
|
||||
xcb-randr.pc
|
||||
xcb-record.pc
|
||||
xcb-render.pc
|
||||
|
|
|
@ -5,6 +5,7 @@ dpms.*
|
|||
dri2.*
|
||||
dri3.*
|
||||
glx.*
|
||||
present.*
|
||||
randr.*
|
||||
record.*
|
||||
render.*
|
||||
|
|
|
@ -64,6 +64,14 @@ libxcb_dri3_la_LIBADD = $(XCB_LIBS)
|
|||
nodist_libxcb_dri3_la_SOURCES = dri3.c dri3.h
|
||||
endif
|
||||
|
||||
EXTSOURCES += present.c
|
||||
if BUILD_PRESENT
|
||||
lib_LTLIBRARIES += libxcb-present.la
|
||||
libxcb_present_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
|
||||
libxcb_present_la_LIBADD = $(XCB_LIBS)
|
||||
nodist_libxcb_present_la_SOURCES = present.c present.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 Present
|
||||
Description: XCB Present Extension
|
||||
Version: @PACKAGE_VERSION@
|
||||
Requires: xcb
|
||||
Libs: -L${libdir} -lxcb-present
|
||||
Cflags: -I${includedir}
|
Loading…
Reference in New Issue