Commit 65ef7afc authored by Jérôme Pouiller's avatar Jérôme Pouiller Committed by Peter Korsgaard
Browse files

apitrace: new package

Trace and replay OpenGL and OpenGL ES APIs calls to/from a file.

http://apitrace.github.io/



[Peter: fix Config.in, depend on glibc, use github helper]
Signed-off-by: default avatarJérôme Pouiller <jezz@sysmic.org>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent d00f36c9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -215,6 +215,7 @@ source "package/x11r7/Config.in"

comment "X applications"
source "package/alsamixergui/Config.in"
source "package/apitrace/Config.in"
source "package/docker/Config.in"
source "package/feh/Config.in"
source "package/freerdp/Config.in"
+16 −0
Original line number Diff line number Diff line
comment "apitrace needs a (e)glibc toolchain w/ C++"
	depends on BR2_PACKAGE_XORG7
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_USES_GLIBC

config BR2_PACKAGE_APITRACE
	bool "apitrace"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_TOOLCHAIN_USES_GLIBC # uses glibc specific __libc_dlsym
	depends on BR2_PACKAGE_XORG7
	select BR2_PACKAGE_XLIB_LIBX11
	help
	  Trace and replay OpenGL and OpenGL ES APIs calls to/from a
	  file. You may install apitrace GUI from your distribution to
	  inspect generated traces.

	  http://apitrace.github.io/
+17 −0
Original line number Diff line number Diff line
################################################################################
#
# apitrace
#
################################################################################

APITRACE_VERSION = c181b7fbf4b1c3912424761fec8ac7124640543a
APITRACE_SITE = $(call github,apitrace,apitrace,$(APITRACE_VERSION))
APITRACE_LICENSE = MIT
APITRACE_LICENSE_FILES = LICENSE

APITRACE_DEPENDENCIES = xlib_libX11 host-python

# Gui was never tested, so we prefer to explicitly disable it
APITRACE_CONF_OPT += -DENABLE_GUI=false

$(eval $(cmake-package))