2015-05-26 10:19:37 +02:00
|
|
|
comment "imx-gpu-viv needs an (e)glibc toolchain"
|
2013-11-07 09:24:37 +01:00
|
|
|
depends on BR2_arm
|
2013-06-30 21:29:09 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_USES_GLIBC
|
2013-05-26 14:08:28 +02:00
|
|
|
|
2015-05-26 10:19:37 +02:00
|
|
|
config BR2_PACKAGE_IMX_GPU_VIV
|
|
|
|
bool "imx-gpu-viv"
|
2014-04-05 17:21:39 +02:00
|
|
|
select BR2_PACKAGE_HAS_LIBEGL
|
2014-04-05 17:21:38 +02:00
|
|
|
select BR2_PACKAGE_HAS_LIBGLES
|
2014-10-13 13:10:12 +02:00
|
|
|
select BR2_PACKAGE_HAS_LIBOPENVG
|
2013-05-26 14:08:28 +02:00
|
|
|
depends on BR2_arm # Only relevant for i.MX6
|
2013-11-11 17:23:23 +01:00
|
|
|
# Library binaries are linked against libc.so.6
|
2013-06-30 21:29:09 +02:00
|
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
2013-05-26 14:08:28 +02:00
|
|
|
help
|
|
|
|
Userspace libraries for Vivante GPU on i.MX6 platforms
|
|
|
|
|
|
|
|
It contains libraries and headers for GLES, OpenCL, and
|
2015-04-23 00:14:34 +02:00
|
|
|
OpenVG. It also contains a DRI plugin for X11. It also
|
2013-05-26 14:08:28 +02:00
|
|
|
contains a plugin for DirectFB-1.4.0, but that doesn't work
|
|
|
|
together with buildroot's DirectFB version.
|
|
|
|
|
|
|
|
This library is provided by Freescale as-is and doesn't have
|
|
|
|
an upstream.
|
|
|
|
|
2015-05-26 10:19:37 +02:00
|
|
|
if BR2_PACKAGE_IMX_GPU_VIV
|
2013-05-26 14:08:28 +02:00
|
|
|
|
2015-04-30 17:12:18 +02:00
|
|
|
choice
|
|
|
|
prompt "Output option"
|
|
|
|
help
|
|
|
|
There are two versions of this library: one for
|
|
|
|
direct framebuffer access, one for X11 rendering.
|
|
|
|
Choose here which version to install.
|
|
|
|
|
2015-05-26 10:19:37 +02:00
|
|
|
config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11
|
2015-04-30 17:12:18 +02:00
|
|
|
bool "X11"
|
|
|
|
depends on BR2_PACKAGE_XORG7
|
2016-03-01 13:39:46 +01:00
|
|
|
select BR2_PACKAGE_XLIB_LIBXDAMAGE
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXEXT
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXFIXES
|
2015-04-30 17:12:18 +02:00
|
|
|
|
|
|
|
comment "X11 backend needs Xorg package"
|
|
|
|
depends on !BR2_PACKAGE_XORG7
|
|
|
|
|
2015-05-26 10:19:37 +02:00
|
|
|
config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB
|
2015-04-30 17:12:18 +02:00
|
|
|
bool "Framebuffer"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2015-05-26 10:19:37 +02:00
|
|
|
config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT
|
2015-04-30 17:12:21 +02:00
|
|
|
string
|
2015-05-26 10:19:37 +02:00
|
|
|
default "x11" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11
|
|
|
|
default "fb" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB
|
2015-04-30 17:12:21 +02:00
|
|
|
|
2014-04-05 17:21:39 +02:00
|
|
|
config BR2_PACKAGE_PROVIDES_LIBEGL
|
2015-05-26 10:19:37 +02:00
|
|
|
default "imx-gpu-viv"
|
2013-12-20 23:27:53 +01:00
|
|
|
|
2014-04-05 17:21:38 +02:00
|
|
|
config BR2_PACKAGE_PROVIDES_LIBGLES
|
2015-05-26 10:19:37 +02:00
|
|
|
default "imx-gpu-viv"
|
2013-12-20 23:27:54 +01:00
|
|
|
|
2014-10-13 13:10:12 +02:00
|
|
|
config BR2_PACKAGE_PROVIDES_LIBOPENVG
|
2015-05-26 10:19:37 +02:00
|
|
|
default "imx-gpu-viv"
|
2014-10-13 13:10:12 +02:00
|
|
|
|
2015-09-21 15:45:16 +02:00
|
|
|
config BR2_PACKAGE_IMX_GPU_VIV_APITRACE
|
|
|
|
bool "install apitrace tools"
|
|
|
|
select BR2_PACKAGE_IMX_GPU_VIV_G2D
|
2016-03-16 15:56:45 +01:00
|
|
|
select BR2_PACKAGE_LIBPNG
|
2015-09-21 15:45:16 +02:00
|
|
|
help
|
|
|
|
Copy the apitrace tool to the target. Apitrace consists
|
|
|
|
of a set of tools to trace, replay and/or inspect OpenGL,
|
|
|
|
OpenGL ES APIs calls
|
|
|
|
|
|
|
|
http://apitrace.github.io/
|
|
|
|
|
2015-05-26 10:19:37 +02:00
|
|
|
config BR2_PACKAGE_IMX_GPU_VIV_EXAMPLES
|
2013-05-26 14:08:28 +02:00
|
|
|
bool "install examples"
|
|
|
|
help
|
|
|
|
Copy the Vivante examples to the target.
|
|
|
|
|
|
|
|
Warning: examples take approximately 150 MB of disk space.
|
|
|
|
|
2015-09-21 15:45:16 +02:00
|
|
|
config BR2_PACKAGE_IMX_GPU_VIV_G2D
|
|
|
|
bool "install G2D libraries"
|
|
|
|
help
|
|
|
|
Copy the GPU2D libraries to the target.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_IMX_GPU_VIV_GMEM_INFO
|
|
|
|
bool "install gmem_info tool"
|
|
|
|
help
|
|
|
|
Copy the gmem_info tool to the target which provides
|
|
|
|
information about GPU memory consumption.
|
|
|
|
|
2013-05-26 14:08:28 +02:00
|
|
|
endif
|