commit: 112a49ddd3db092446c8243ea7f43c8669d735b6 Author: David Heidelberg <david <AT> ixit <DOT> cz> AuthorDate: Tue Nov 18 12:21:16 2014 +0000 Commit: David Heidelberger <d.okias <AT> gmail <DOT> com> CommitDate: Tue Nov 18 12:21:16 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=112a49dd
media-libs/mesa: allow building Direct 3D9 API For more informations check https://wiki.ixit.cz/d3d9 . Signed-off-by: David Heidelberg <david <AT> ixit.cz> --- media-libs/mesa/mesa-9999.ebuild | 7 +++++-- media-libs/mesa/metadata.xml | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index ddc957c..e9f0800 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -49,11 +49,12 @@ for card in ${VIDEO_CARDS}; do done IUSE="${IUSE_VIDEO_CARDS} - bindist +classic debug +dri3 +egl +gallium +gbm gles1 gles2 +llvm +nptl - opencl openvg osmesa pax_kernel openmax pic r600-llvm-compiler selinux + bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 +llvm + +nptl opencl openvg osmesa pax_kernel openmax pic r600-llvm-compiler selinux vaapi vdpau wayland xvmc xa kernel_FreeBSD" REQUIRED_USE=" + d3d9? ( gallium dri3 ) llvm? ( gallium ) openvg? ( egl gallium ) opencl? ( @@ -255,6 +256,7 @@ multilib_src_configure() { if use gallium; then myconf+=" + $(use_enable d3d9 nine) $(use_enable llvm gallium-llvm) $(use_enable openvg) $(use_enable openmax omx) @@ -313,6 +315,7 @@ multilib_src_configure() { --enable-glx \ --enable-shared-glapi \ $(use_enable !bindist texture-float) \ + $(use_enable d3d9 nine) \ $(use_enable debug) \ $(use_enable dri3) \ $(use_enable egl) \ diff --git a/media-libs/mesa/metadata.xml b/media-libs/mesa/metadata.xml index c8634ec..69cb2f1 100644 --- a/media-libs/mesa/metadata.xml +++ b/media-libs/mesa/metadata.xml @@ -6,6 +6,7 @@ <flag name='bindist'>Disable patent-encumbered ARB_texture_float, EXT_texture_shared_exponent, and EXT_packed_float extensions.</flag> <flag name='classic'>Build drivers based on the classic architecture.</flag> <flag name='egl'>Enable EGL support.</flag> + <flag name='d3d9'>Enable Direct 3D9 API through Nine state tracker. Can be used together with patched wine.</flag> <flag name='dri3'>Enable DRI3 support.</flag> <flag name='gallium'>Build drivers based on Gallium3D, the new architecture for 3D graphics drivers.</flag> <flag name='gbm'>Enable the Graphics Buffer Manager for EGL on KMS.</flag>
