diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-11-22 02:46:45 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-11-22 02:46:45 +0000 |
commit | 0784c49c0f8fcc8b3abd4c9286d9fd8bc089dd7d (patch) | |
tree | a6394e3e264a0f80b57f4ce0f5d9526aa543d4b0 /lib/mesa/src/gallium/targets/pipe-loader | |
parent | d91d0007eecf589ea5699e34aa4d748fce2c57b2 (diff) |
import Mesa 11.0.6
Diffstat (limited to 'lib/mesa/src/gallium/targets/pipe-loader')
12 files changed, 1828 insertions, 0 deletions
diff --git a/lib/mesa/src/gallium/targets/pipe-loader/Makefile.am b/lib/mesa/src/gallium/targets/pipe-loader/Makefile.am new file mode 100644 index 000000000..4d9f7be2e --- /dev/null +++ b/lib/mesa/src/gallium/targets/pipe-loader/Makefile.am @@ -0,0 +1,214 @@ +# Copyright © 2012 Intel Corporation +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice (including the next +# paragraph) shall be included in all copies or substantial portions of the +# Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. + +include $(top_srcdir)/src/gallium/Automake.inc + +AM_CPPFLAGS = \ + $(GALLIUM_CFLAGS) \ + -I$(top_srcdir)/include \ + -I$(top_srcdir)/src/gallium/drivers \ + -I$(top_srcdir)/src/gallium/winsys \ + $(LIBDRM_CFLAGS) \ + $(VISIBILITY_CFLAGS) \ + -DGALLIUM_RBUG \ + -DGALLIUM_TRACE + +pipedir = $(libdir)/gallium-pipe +pipe_LTLIBRARIES = + +PIPE_LIBS = + +if NEED_GALLIUM_VL +PIPE_LIBS += \ + $(top_builddir)/src/gallium/auxiliary/libgalliumvl.la +else +PIPE_LIBS += \ + $(top_builddir)/src/gallium/auxiliary/libgalliumvl_stub.la +endif + +if NEED_GALLIUM_VL_WINSYS +PIPE_LIBS+= \ + $(top_builddir)/src/gallium/auxiliary/libgalliumvlwinsys.la +endif + +PIPE_LIBS += \ + $(top_builddir)/src/gallium/auxiliary/libgallium.la \ + $(top_builddir)/src/glsl/libnir.la \ + $(top_builddir)/src/libglsl_util.la \ + $(top_builddir)/src/util/libmesautil.la \ + $(top_builddir)/src/gallium/drivers/rbug/librbug.la \ + $(top_builddir)/src/gallium/drivers/trace/libtrace.la \ + $(GALLIUM_COMMON_LIB_DEPS) + +AM_LDFLAGS = \ + -module \ + -no-undefined \ + -avoid-version \ + $(GC_SECTIONS) \ + $(LD_NO_UNDEFINED) + +if HAVE_LD_VERSION_SCRIPT +AM_LDFLAGS += \ + -Wl,--version-script=$(top_srcdir)/src/gallium/targets/pipe-loader/pipe.sym +endif + +if HAVE_MESA_LLVM +PIPE_LIBS += $(LLVM_LIBS) +AM_LDFLAGS += $(LLVM_LDFLAGS) +endif + +if HAVE_GALLIUM_I915 +pipe_LTLIBRARIES += pipe_i915.la + +pipe_i915_la_SOURCES = pipe_i915.c +nodist_EXTRA_pipe_i915_la_SOURCES = dummy.cpp +pipe_i915_la_LIBADD = \ + $(PIPE_LIBS) \ + $(top_builddir)/src/gallium/winsys/i915/drm/libi915drm.la \ + $(top_builddir)/src/gallium/drivers/i915/libi915.la \ + $(LIBDRM_LIBS) \ + $(INTEL_LIBS) + +endif + +if HAVE_GALLIUM_ILO +pipe_LTLIBRARIES += pipe_i965.la + +pipe_i965_la_SOURCES = pipe_i965.c +nodist_EXTRA_pipe_i965_la_SOURCES = dummy.cpp +pipe_i965_la_LIBADD = \ + $(PIPE_LIBS) \ + $(top_builddir)/src/gallium/winsys/intel/drm/libintelwinsys.la \ + $(top_builddir)/src/gallium/drivers/ilo/libilo.la \ + $(LIBDRM_LIBS) \ + $(INTEL_LIBS) + +endif + +if HAVE_GALLIUM_NOUVEAU +pipe_LTLIBRARIES += pipe_nouveau.la + +pipe_nouveau_la_SOURCES = pipe_nouveau.c +nodist_EXTRA_pipe_nouveau_la_SOURCES = dummy.cpp +pipe_nouveau_la_LIBADD = \ + $(PIPE_LIBS) \ + $(top_builddir)/src/gallium/winsys/nouveau/drm/libnouveaudrm.la \ + $(top_builddir)/src/gallium/drivers/nouveau/libnouveau.la \ + $(LIBDRM_LIBS) \ + $(NOUVEAU_LIBS) + +endif + +if HAVE_GALLIUM_R300 +pipe_LTLIBRARIES += pipe_r300.la + +pipe_r300_la_SOURCES = pipe_r300.c +nodist_EXTRA_pipe_r300_la_SOURCES = dummy.cpp +pipe_r300_la_LIBADD = \ + $(PIPE_LIBS) \ + $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \ + $(top_builddir)/src/gallium/drivers/r300/libr300.la \ + $(LIBDRM_LIBS) \ + $(RADEON_LIBS) + +endif + +if HAVE_GALLIUM_R600 +pipe_LTLIBRARIES += pipe_r600.la + +pipe_r600_la_SOURCES = pipe_r600.c +nodist_EXTRA_pipe_r600_la_SOURCES = dummy.cpp +pipe_r600_la_LIBADD = \ + $(PIPE_LIBS) \ + $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \ + $(top_builddir)/src/gallium/drivers/radeon/libradeon.la \ + $(top_builddir)/src/gallium/drivers/r600/libr600.la \ + $(LIBDRM_LIBS) \ + $(RADEON_LIBS) + +endif + +if HAVE_GALLIUM_RADEONSI +pipe_LTLIBRARIES += pipe_radeonsi.la + +pipe_radeonsi_la_SOURCES = pipe_radeonsi.c +nodist_EXTRA_pipe_radeonsi_la_SOURCES = dummy.cpp +pipe_radeonsi_la_LIBADD = \ + $(PIPE_LIBS) \ + $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \ + $(top_builddir)/src/gallium/winsys/amdgpu/drm/libamdgpuwinsys.la \ + $(top_builddir)/src/gallium/drivers/radeon/libradeon.la \ + $(top_builddir)/src/gallium/drivers/radeonsi/libradeonsi.la \ + $(LIBDRM_LIBS) \ + $(RADEON_LIBS) \ + $(AMDGPU_LIBS) + +endif + +if HAVE_GALLIUM_FREEDRENO +pipe_LTLIBRARIES += pipe_msm.la + +pipe_msm_la_SOURCES = pipe_msm.c +nodist_EXTRA_pipe_msm_la_SOURCES = dummy.cpp +pipe_msm_la_LIBADD = \ + $(PIPE_LIBS) \ + $(top_builddir)/src/gallium/winsys/freedreno/drm/libfreedrenodrm.la \ + $(top_builddir)/src/gallium/drivers/freedreno/libfreedreno.la \ + $(LIBDRM_LIBS) \ + $(FREEDRENO_LIBS) + +endif + +if HAVE_GALLIUM_SVGA +pipe_LTLIBRARIES += pipe_vmwgfx.la + +pipe_vmwgfx_la_SOURCES = pipe_vmwgfx.c +nodist_EXTRA_pipe_vmwgfx_la_SOURCES = dummy.cpp + +pipe_vmwgfx_la_LIBADD = \ + $(PIPE_LIBS) \ + $(top_builddir)/src/gallium/winsys/svga/drm/libsvgadrm.la \ + $(top_builddir)/src/gallium/drivers/svga/libsvga.la \ + $(LIBDRM_LIBS) + +endif + +if HAVE_GALLIUM_SOFTPIPE +AM_CPPFLAGS += -DGALLIUM_SOFTPIPE + +pipe_LTLIBRARIES += pipe_swrast.la +pipe_swrast_la_SOURCES = pipe_swrast.c +nodist_EXTRA_pipe_swrast_la_SOURCES = dummy.cpp + +pipe_swrast_la_LIBADD = \ + $(PIPE_LIBS) \ + $(top_builddir)/src/gallium/drivers/softpipe/libsoftpipe.la + +if HAVE_GALLIUM_LLVMPIPE +AM_CPPFLAGS += -DGALLIUM_LLVMPIPE + +pipe_swrast_la_LIBADD += \ + $(top_builddir)/src/gallium/drivers/llvmpipe/libllvmpipe.la +endif +endif + +EXTRA_DIST = pipe.sym diff --git a/lib/mesa/src/gallium/targets/pipe-loader/Makefile.in b/lib/mesa/src/gallium/targets/pipe-loader/Makefile.in new file mode 100644 index 000000000..a2b824f83 --- /dev/null +++ b/lib/mesa/src/gallium/targets/pipe-loader/Makefile.in @@ -0,0 +1,1227 @@ +# Makefile.in generated by automake 1.15 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2014 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +# Copyright © 2012 Intel Corporation +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice (including the next +# paragraph) shall be included in all copies or substantial portions of the +# Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +target_triplet = @target@ +@HAVE_DRISW_TRUE@am__append_1 = \ +@HAVE_DRISW_TRUE@ $(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la + +@NEED_GALLIUM_VL_TRUE@am__append_2 = \ +@NEED_GALLIUM_VL_TRUE@ $(top_builddir)/src/gallium/auxiliary/libgalliumvl.la + +@NEED_GALLIUM_VL_FALSE@am__append_3 = \ +@NEED_GALLIUM_VL_FALSE@ $(top_builddir)/src/gallium/auxiliary/libgalliumvl_stub.la + +@NEED_GALLIUM_VL_WINSYS_TRUE@am__append_4 = \ +@NEED_GALLIUM_VL_WINSYS_TRUE@ $(top_builddir)/src/gallium/auxiliary/libgalliumvlwinsys.la + +@HAVE_LD_VERSION_SCRIPT_TRUE@am__append_5 = \ +@HAVE_LD_VERSION_SCRIPT_TRUE@ -Wl,--version-script=$(top_srcdir)/src/gallium/targets/pipe-loader/pipe.sym + +@HAVE_MESA_LLVM_TRUE@am__append_6 = $(LLVM_LIBS) +@HAVE_MESA_LLVM_TRUE@am__append_7 = $(LLVM_LDFLAGS) +@HAVE_GALLIUM_I915_TRUE@am__append_8 = pipe_i915.la +@HAVE_GALLIUM_ILO_TRUE@am__append_9 = pipe_i965.la +@HAVE_GALLIUM_NOUVEAU_TRUE@am__append_10 = pipe_nouveau.la +@HAVE_GALLIUM_R300_TRUE@am__append_11 = pipe_r300.la +@HAVE_GALLIUM_R600_TRUE@am__append_12 = pipe_r600.la +@HAVE_GALLIUM_RADEONSI_TRUE@am__append_13 = pipe_radeonsi.la +@HAVE_GALLIUM_FREEDRENO_TRUE@am__append_14 = pipe_msm.la +@HAVE_GALLIUM_SVGA_TRUE@am__append_15 = pipe_vmwgfx.la +@HAVE_GALLIUM_SOFTPIPE_TRUE@am__append_16 = -DGALLIUM_SOFTPIPE +@HAVE_GALLIUM_SOFTPIPE_TRUE@am__append_17 = pipe_swrast.la +@HAVE_GALLIUM_LLVMPIPE_TRUE@@HAVE_GALLIUM_SOFTPIPE_TRUE@am__append_18 = -DGALLIUM_LLVMPIPE +@HAVE_GALLIUM_LLVMPIPE_TRUE@@HAVE_GALLIUM_SOFTPIPE_TRUE@am__append_19 = \ +@HAVE_GALLIUM_LLVMPIPE_TRUE@@HAVE_GALLIUM_SOFTPIPE_TRUE@ $(top_builddir)/src/gallium/drivers/llvmpipe/libllvmpipe.la + +subdir = src/gallium/targets/pipe-loader +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_gnu_make.m4 \ + $(top_srcdir)/m4/ax_check_python_mako_module.m4 \ + $(top_srcdir)/m4/ax_gcc_builtin.m4 \ + $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ + $(top_srcdir)/m4/ax_prog_bison.m4 \ + $(top_srcdir)/m4/ax_prog_flex.m4 \ + $(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/VERSION $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(pipedir)" +LTLIBRARIES = $(pipe_LTLIBRARIES) +am__DEPENDENCIES_1 = +am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) +@HAVE_MESA_LLVM_TRUE@am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1) +am__DEPENDENCIES_4 = $(am__append_2) $(am__append_3) $(am__append_4) \ + $(top_builddir)/src/gallium/auxiliary/libgallium.la \ + $(top_builddir)/src/glsl/libnir.la \ + $(top_builddir)/src/libglsl_util.la \ + $(top_builddir)/src/util/libmesautil.la \ + $(top_builddir)/src/gallium/drivers/rbug/librbug.la \ + $(top_builddir)/src/gallium/drivers/trace/libtrace.la \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +@HAVE_GALLIUM_I915_TRUE@pipe_i915_la_DEPENDENCIES = \ +@HAVE_GALLIUM_I915_TRUE@ $(am__DEPENDENCIES_4) \ +@HAVE_GALLIUM_I915_TRUE@ $(top_builddir)/src/gallium/winsys/i915/drm/libi915drm.la \ +@HAVE_GALLIUM_I915_TRUE@ $(top_builddir)/src/gallium/drivers/i915/libi915.la \ +@HAVE_GALLIUM_I915_TRUE@ $(am__DEPENDENCIES_1) \ +@HAVE_GALLIUM_I915_TRUE@ $(am__DEPENDENCIES_1) +am__pipe_i915_la_SOURCES_DIST = pipe_i915.c +@HAVE_GALLIUM_I915_TRUE@am_pipe_i915_la_OBJECTS = pipe_i915.lo +pipe_i915_la_OBJECTS = $(am_pipe_i915_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +@HAVE_GALLIUM_I915_TRUE@am_pipe_i915_la_rpath = -rpath $(pipedir) +@HAVE_GALLIUM_ILO_TRUE@pipe_i965_la_DEPENDENCIES = \ +@HAVE_GALLIUM_ILO_TRUE@ $(am__DEPENDENCIES_4) \ +@HAVE_GALLIUM_ILO_TRUE@ $(top_builddir)/src/gallium/winsys/intel/drm/libintelwinsys.la \ +@HAVE_GALLIUM_ILO_TRUE@ $(top_builddir)/src/gallium/drivers/ilo/libilo.la \ +@HAVE_GALLIUM_ILO_TRUE@ $(am__DEPENDENCIES_1) \ +@HAVE_GALLIUM_ILO_TRUE@ $(am__DEPENDENCIES_1) +am__pipe_i965_la_SOURCES_DIST = pipe_i965.c +@HAVE_GALLIUM_ILO_TRUE@am_pipe_i965_la_OBJECTS = pipe_i965.lo +pipe_i965_la_OBJECTS = $(am_pipe_i965_la_OBJECTS) +@HAVE_GALLIUM_ILO_TRUE@am_pipe_i965_la_rpath = -rpath $(pipedir) +@HAVE_GALLIUM_FREEDRENO_TRUE@pipe_msm_la_DEPENDENCIES = \ +@HAVE_GALLIUM_FREEDRENO_TRUE@ $(am__DEPENDENCIES_4) \ +@HAVE_GALLIUM_FREEDRENO_TRUE@ $(top_builddir)/src/gallium/winsys/freedreno/drm/libfreedrenodrm.la \ +@HAVE_GALLIUM_FREEDRENO_TRUE@ $(top_builddir)/src/gallium/drivers/freedreno/libfreedreno.la \ +@HAVE_GALLIUM_FREEDRENO_TRUE@ $(am__DEPENDENCIES_1) \ +@HAVE_GALLIUM_FREEDRENO_TRUE@ $(am__DEPENDENCIES_1) +am__pipe_msm_la_SOURCES_DIST = pipe_msm.c +@HAVE_GALLIUM_FREEDRENO_TRUE@am_pipe_msm_la_OBJECTS = pipe_msm.lo +pipe_msm_la_OBJECTS = $(am_pipe_msm_la_OBJECTS) +@HAVE_GALLIUM_FREEDRENO_TRUE@am_pipe_msm_la_rpath = -rpath $(pipedir) +@HAVE_GALLIUM_NOUVEAU_TRUE@pipe_nouveau_la_DEPENDENCIES = \ +@HAVE_GALLIUM_NOUVEAU_TRUE@ $(am__DEPENDENCIES_4) \ +@HAVE_GALLIUM_NOUVEAU_TRUE@ $(top_builddir)/src/gallium/winsys/nouveau/drm/libnouveaudrm.la \ +@HAVE_GALLIUM_NOUVEAU_TRUE@ $(top_builddir)/src/gallium/drivers/nouveau/libnouveau.la \ +@HAVE_GALLIUM_NOUVEAU_TRUE@ $(am__DEPENDENCIES_1) \ +@HAVE_GALLIUM_NOUVEAU_TRUE@ $(am__DEPENDENCIES_1) +am__pipe_nouveau_la_SOURCES_DIST = pipe_nouveau.c +@HAVE_GALLIUM_NOUVEAU_TRUE@am_pipe_nouveau_la_OBJECTS = \ +@HAVE_GALLIUM_NOUVEAU_TRUE@ pipe_nouveau.lo +pipe_nouveau_la_OBJECTS = $(am_pipe_nouveau_la_OBJECTS) +@HAVE_GALLIUM_NOUVEAU_TRUE@am_pipe_nouveau_la_rpath = -rpath \ +@HAVE_GALLIUM_NOUVEAU_TRUE@ $(pipedir) +@HAVE_GALLIUM_R300_TRUE@pipe_r300_la_DEPENDENCIES = \ +@HAVE_GALLIUM_R300_TRUE@ $(am__DEPENDENCIES_4) \ +@HAVE_GALLIUM_R300_TRUE@ $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \ +@HAVE_GALLIUM_R300_TRUE@ $(top_builddir)/src/gallium/drivers/r300/libr300.la \ +@HAVE_GALLIUM_R300_TRUE@ $(am__DEPENDENCIES_1) \ +@HAVE_GALLIUM_R300_TRUE@ $(am__DEPENDENCIES_1) +am__pipe_r300_la_SOURCES_DIST = pipe_r300.c +@HAVE_GALLIUM_R300_TRUE@am_pipe_r300_la_OBJECTS = pipe_r300.lo +pipe_r300_la_OBJECTS = $(am_pipe_r300_la_OBJECTS) +@HAVE_GALLIUM_R300_TRUE@am_pipe_r300_la_rpath = -rpath $(pipedir) +@HAVE_GALLIUM_R600_TRUE@pipe_r600_la_DEPENDENCIES = \ +@HAVE_GALLIUM_R600_TRUE@ $(am__DEPENDENCIES_4) \ +@HAVE_GALLIUM_R600_TRUE@ $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \ +@HAVE_GALLIUM_R600_TRUE@ $(top_builddir)/src/gallium/drivers/radeon/libradeon.la \ +@HAVE_GALLIUM_R600_TRUE@ $(top_builddir)/src/gallium/drivers/r600/libr600.la \ +@HAVE_GALLIUM_R600_TRUE@ $(am__DEPENDENCIES_1) \ +@HAVE_GALLIUM_R600_TRUE@ $(am__DEPENDENCIES_1) +am__pipe_r600_la_SOURCES_DIST = pipe_r600.c +@HAVE_GALLIUM_R600_TRUE@am_pipe_r600_la_OBJECTS = pipe_r600.lo +pipe_r600_la_OBJECTS = $(am_pipe_r600_la_OBJECTS) +@HAVE_GALLIUM_R600_TRUE@am_pipe_r600_la_rpath = -rpath $(pipedir) +@HAVE_GALLIUM_RADEONSI_TRUE@pipe_radeonsi_la_DEPENDENCIES = \ +@HAVE_GALLIUM_RADEONSI_TRUE@ $(am__DEPENDENCIES_4) \ +@HAVE_GALLIUM_RADEONSI_TRUE@ $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \ +@HAVE_GALLIUM_RADEONSI_TRUE@ $(top_builddir)/src/gallium/winsys/amdgpu/drm/libamdgpuwinsys.la \ +@HAVE_GALLIUM_RADEONSI_TRUE@ $(top_builddir)/src/gallium/drivers/radeon/libradeon.la \ +@HAVE_GALLIUM_RADEONSI_TRUE@ $(top_builddir)/src/gallium/drivers/radeonsi/libradeonsi.la \ +@HAVE_GALLIUM_RADEONSI_TRUE@ $(am__DEPENDENCIES_1) \ +@HAVE_GALLIUM_RADEONSI_TRUE@ $(am__DEPENDENCIES_1) \ +@HAVE_GALLIUM_RADEONSI_TRUE@ $(am__DEPENDENCIES_1) +am__pipe_radeonsi_la_SOURCES_DIST = pipe_radeonsi.c +@HAVE_GALLIUM_RADEONSI_TRUE@am_pipe_radeonsi_la_OBJECTS = \ +@HAVE_GALLIUM_RADEONSI_TRUE@ pipe_radeonsi.lo +pipe_radeonsi_la_OBJECTS = $(am_pipe_radeonsi_la_OBJECTS) +@HAVE_GALLIUM_RADEONSI_TRUE@am_pipe_radeonsi_la_rpath = -rpath \ +@HAVE_GALLIUM_RADEONSI_TRUE@ $(pipedir) +@HAVE_GALLIUM_SOFTPIPE_TRUE@pipe_swrast_la_DEPENDENCIES = \ +@HAVE_GALLIUM_SOFTPIPE_TRUE@ $(am__DEPENDENCIES_4) \ +@HAVE_GALLIUM_SOFTPIPE_TRUE@ $(top_builddir)/src/gallium/drivers/softpipe/libsoftpipe.la \ +@HAVE_GALLIUM_SOFTPIPE_TRUE@ $(am__append_19) +am__pipe_swrast_la_SOURCES_DIST = pipe_swrast.c +@HAVE_GALLIUM_SOFTPIPE_TRUE@am_pipe_swrast_la_OBJECTS = \ +@HAVE_GALLIUM_SOFTPIPE_TRUE@ pipe_swrast.lo +pipe_swrast_la_OBJECTS = $(am_pipe_swrast_la_OBJECTS) +@HAVE_GALLIUM_SOFTPIPE_TRUE@am_pipe_swrast_la_rpath = -rpath \ +@HAVE_GALLIUM_SOFTPIPE_TRUE@ $(pipedir) +@HAVE_GALLIUM_SVGA_TRUE@pipe_vmwgfx_la_DEPENDENCIES = \ +@HAVE_GALLIUM_SVGA_TRUE@ $(am__DEPENDENCIES_4) \ +@HAVE_GALLIUM_SVGA_TRUE@ $(top_builddir)/src/gallium/winsys/svga/drm/libsvgadrm.la \ +@HAVE_GALLIUM_SVGA_TRUE@ $(top_builddir)/src/gallium/drivers/svga/libsvga.la \ +@HAVE_GALLIUM_SVGA_TRUE@ $(am__DEPENDENCIES_1) +am__pipe_vmwgfx_la_SOURCES_DIST = pipe_vmwgfx.c +@HAVE_GALLIUM_SVGA_TRUE@am_pipe_vmwgfx_la_OBJECTS = pipe_vmwgfx.lo +pipe_vmwgfx_la_OBJECTS = $(am_pipe_vmwgfx_la_OBJECTS) +@HAVE_GALLIUM_SVGA_TRUE@am_pipe_vmwgfx_la_rpath = -rpath $(pipedir) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ +depcomp = $(SHELL) $(top_srcdir)/bin/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CXXFLAGS) $(CXXFLAGS) +AM_V_CXX = $(am__v_CXX_@AM_V@) +am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) +am__v_CXX_0 = @echo " CXX " $@; +am__v_CXX_1 = +CXXLD = $(CXX) +CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ + $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) +am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) +am__v_CXXLD_0 = @echo " CXXLD " $@; +am__v_CXXLD_1 = +SOURCES = $(pipe_i915_la_SOURCES) $(nodist_EXTRA_pipe_i915_la_SOURCES) \ + $(pipe_i965_la_SOURCES) $(nodist_EXTRA_pipe_i965_la_SOURCES) \ + $(pipe_msm_la_SOURCES) $(nodist_EXTRA_pipe_msm_la_SOURCES) \ + $(pipe_nouveau_la_SOURCES) \ + $(nodist_EXTRA_pipe_nouveau_la_SOURCES) \ + $(pipe_r300_la_SOURCES) $(nodist_EXTRA_pipe_r300_la_SOURCES) \ + $(pipe_r600_la_SOURCES) $(nodist_EXTRA_pipe_r600_la_SOURCES) \ + $(pipe_radeonsi_la_SOURCES) \ + $(nodist_EXTRA_pipe_radeonsi_la_SOURCES) \ + $(pipe_swrast_la_SOURCES) \ + $(nodist_EXTRA_pipe_swrast_la_SOURCES) \ + $(pipe_vmwgfx_la_SOURCES) \ + $(nodist_EXTRA_pipe_vmwgfx_la_SOURCES) +DIST_SOURCES = $(am__pipe_i915_la_SOURCES_DIST) \ + $(am__pipe_i965_la_SOURCES_DIST) \ + $(am__pipe_msm_la_SOURCES_DIST) \ + $(am__pipe_nouveau_la_SOURCES_DIST) \ + $(am__pipe_r300_la_SOURCES_DIST) \ + $(am__pipe_r600_la_SOURCES_DIST) \ + $(am__pipe_radeonsi_la_SOURCES_DIST) \ + $(am__pipe_swrast_la_SOURCES_DIST) \ + $(am__pipe_vmwgfx_la_SOURCES_DIST) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/bin/depcomp \ + $(top_srcdir)/src/gallium/Automake.inc +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AMDGPU_CFLAGS = @AMDGPU_CFLAGS@ +AMDGPU_LIBS = @AMDGPU_LIBS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +BSYMBOLIC = @BSYMBOLIC@ +CC = @CC@ +CCAS = @CCAS@ +CCASDEPMODE = @CCASDEPMODE@ +CCASFLAGS = @CCASFLAGS@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CLANG_RESOURCE_DIR = @CLANG_RESOURCE_DIR@ +CLOCK_LIB = @CLOCK_LIB@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +D3D_DRIVER_INSTALL_DIR = @D3D_DRIVER_INSTALL_DIR@ +DEFINES = @DEFINES@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DLOPEN_LIBS = @DLOPEN_LIBS@ +DRI2PROTO_CFLAGS = @DRI2PROTO_CFLAGS@ +DRI2PROTO_LIBS = @DRI2PROTO_LIBS@ +DRI3PROTO_CFLAGS = @DRI3PROTO_CFLAGS@ +DRI3PROTO_LIBS = @DRI3PROTO_LIBS@ +DRIGL_CFLAGS = @DRIGL_CFLAGS@ +DRIGL_LIBS = @DRIGL_LIBS@ +DRI_DRIVER_INSTALL_DIR = @DRI_DRIVER_INSTALL_DIR@ +DRI_DRIVER_SEARCH_DIR = @DRI_DRIVER_SEARCH_DIR@ +DRI_LIB_DEPS = @DRI_LIB_DEPS@ +DRI_PC_REQ_PRIV = @DRI_PC_REQ_PRIV@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGL_CFLAGS = @EGL_CFLAGS@ +EGL_CLIENT_APIS = @EGL_CLIENT_APIS@ +EGL_LIB_DEPS = @EGL_LIB_DEPS@ +EGL_NATIVE_PLATFORM = @EGL_NATIVE_PLATFORM@ +EGREP = @EGREP@ +ELF_LIB = @ELF_LIB@ +EXEEXT = @EXEEXT@ +EXPAT_CFLAGS = @EXPAT_CFLAGS@ +EXPAT_LIBS = @EXPAT_LIBS@ +FGREP = @FGREP@ +FREEDRENO_CFLAGS = @FREEDRENO_CFLAGS@ +FREEDRENO_LIBS = @FREEDRENO_LIBS@ +GALLIUM_PIPE_LOADER_DEFINES = @GALLIUM_PIPE_LOADER_DEFINES@ +GBM_PC_LIB_PRIV = @GBM_PC_LIB_PRIV@ +GBM_PC_REQ_PRIV = @GBM_PC_REQ_PRIV@ +GC_SECTIONS = @GC_SECTIONS@ +GLESv1_CM_LIB_DEPS = @GLESv1_CM_LIB_DEPS@ +GLESv1_CM_PC_LIB_PRIV = @GLESv1_CM_PC_LIB_PRIV@ +GLESv2_LIB_DEPS = @GLESv2_LIB_DEPS@ +GLESv2_PC_LIB_PRIV = @GLESv2_PC_LIB_PRIV@ +GLPROTO_CFLAGS = @GLPROTO_CFLAGS@ +GLPROTO_LIBS = @GLPROTO_LIBS@ +GLX_TLS = @GLX_TLS@ +GL_LIB = @GL_LIB@ +GL_LIB_DEPS = @GL_LIB_DEPS@ +GL_PC_CFLAGS = @GL_PC_CFLAGS@ +GL_PC_LIB_PRIV = @GL_PC_LIB_PRIV@ +GL_PC_REQ_PRIV = @GL_PC_REQ_PRIV@ +GREP = @GREP@ +HAVE_XF86VIDMODE = @HAVE_XF86VIDMODE@ +INDENT = @INDENT@ +INDENT_FLAGS = @INDENT_FLAGS@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INTEL_CFLAGS = @INTEL_CFLAGS@ +INTEL_LIBS = @INTEL_LIBS@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LD_NO_UNDEFINED = @LD_NO_UNDEFINED@ +LEX = @LEX@ +LEXLIB = @LEXLIB@ +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ +LIBCLC_INCLUDEDIR = @LIBCLC_INCLUDEDIR@ +LIBCLC_LIBEXECDIR = @LIBCLC_LIBEXECDIR@ +LIBDRM_CFLAGS = @LIBDRM_CFLAGS@ +LIBDRM_LIBS = @LIBDRM_LIBS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIBUDEV_CFLAGS = @LIBUDEV_CFLAGS@ +LIBUDEV_LIBS = @LIBUDEV_LIBS@ +LIB_DIR = @LIB_DIR@ +LIB_EXT = @LIB_EXT@ +LIPO = @LIPO@ +LLVM_BINDIR = @LLVM_BINDIR@ +LLVM_CFLAGS = @LLVM_CFLAGS@ +LLVM_CONFIG = @LLVM_CONFIG@ +LLVM_CPPFLAGS = @LLVM_CPPFLAGS@ +LLVM_CXXFLAGS = @LLVM_CXXFLAGS@ +LLVM_INCLUDEDIR = @LLVM_INCLUDEDIR@ +LLVM_LDFLAGS = @LLVM_LDFLAGS@ +LLVM_LIBDIR = @LLVM_LIBDIR@ +LLVM_LIBS = @LLVM_LIBS@ +LLVM_VERSION = @LLVM_VERSION@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MESA_LLVM = @MESA_LLVM@ +MKDIR_P = @MKDIR_P@ +MSVC2008_COMPAT_CFLAGS = @MSVC2008_COMPAT_CFLAGS@ +MSVC2008_COMPAT_CXXFLAGS = @MSVC2008_COMPAT_CXXFLAGS@ +MSVC2013_COMPAT_CFLAGS = @MSVC2013_COMPAT_CFLAGS@ +MSVC2013_COMPAT_CXXFLAGS = @MSVC2013_COMPAT_CXXFLAGS@ +NINE_MAJOR = @NINE_MAJOR@ +NINE_MINOR = @NINE_MINOR@ +NINE_TINY = @NINE_TINY@ +NINE_VERSION = @NINE_VERSION@ +NM = @NM@ +NMEDIT = @NMEDIT@ +NOUVEAU_CFLAGS = @NOUVEAU_CFLAGS@ +NOUVEAU_LIBS = @NOUVEAU_LIBS@ +NVVIEUX_CFLAGS = @NVVIEUX_CFLAGS@ +NVVIEUX_LIBS = @NVVIEUX_LIBS@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OMX_CFLAGS = @OMX_CFLAGS@ +OMX_LIBS = @OMX_LIBS@ +OMX_LIB_INSTALL_DIR = @OMX_LIB_INSTALL_DIR@ +OPENCL_LIBNAME = @OPENCL_LIBNAME@ +OPENCL_VERSION = @OPENCL_VERSION@ +OSMESA_LIB = @OSMESA_LIB@ +OSMESA_LIB_DEPS = @OSMESA_LIB_DEPS@ +OSMESA_PC_LIB_PRIV = @OSMESA_PC_LIB_PRIV@ +OSMESA_PC_REQ = @OSMESA_PC_REQ@ +OSMESA_VERSION = @OSMESA_VERSION@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POSIX_SHELL = @POSIX_SHELL@ +PRESENTPROTO_CFLAGS = @PRESENTPROTO_CFLAGS@ +PRESENTPROTO_LIBS = @PRESENTPROTO_LIBS@ +PTHREAD_CC = @PTHREAD_CC@ +PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ +PTHREAD_LIBS = @PTHREAD_LIBS@ +PYTHON2 = @PYTHON2@ +RADEON_CFLAGS = @RADEON_CFLAGS@ +RADEON_LIBS = @RADEON_LIBS@ +RANLIB = @RANLIB@ +RM = @RM@ +SED = @SED@ +SELINUX_CFLAGS = @SELINUX_CFLAGS@ +SELINUX_LIBS = @SELINUX_LIBS@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SSE41_CFLAGS = @SSE41_CFLAGS@ +STRIP = @STRIP@ +VA_CFLAGS = @VA_CFLAGS@ +VA_LIBS = @VA_LIBS@ +VA_LIB_INSTALL_DIR = @VA_LIB_INSTALL_DIR@ +VA_MAJOR = @VA_MAJOR@ +VA_MINOR = @VA_MINOR@ +VDPAU_CFLAGS = @VDPAU_CFLAGS@ +VDPAU_LIBS = @VDPAU_LIBS@ +VDPAU_LIB_INSTALL_DIR = @VDPAU_LIB_INSTALL_DIR@ +VDPAU_MAJOR = @VDPAU_MAJOR@ +VDPAU_MINOR = @VDPAU_MINOR@ +VERSION = @VERSION@ +VG_LIB_DEPS = @VG_LIB_DEPS@ +VISIBILITY_CFLAGS = @VISIBILITY_CFLAGS@ +VISIBILITY_CXXFLAGS = @VISIBILITY_CXXFLAGS@ +VL_CFLAGS = @VL_CFLAGS@ +VL_LIBS = @VL_LIBS@ +WAYLAND_CFLAGS = @WAYLAND_CFLAGS@ +WAYLAND_LIBS = @WAYLAND_LIBS@ +WAYLAND_SCANNER = @WAYLAND_SCANNER@ +WAYLAND_SCANNER_CFLAGS = @WAYLAND_SCANNER_CFLAGS@ +WAYLAND_SCANNER_LIBS = @WAYLAND_SCANNER_LIBS@ +X11_INCLUDES = @X11_INCLUDES@ +XA_MAJOR = @XA_MAJOR@ +XA_MINOR = @XA_MINOR@ +XA_TINY = @XA_TINY@ +XA_VERSION = @XA_VERSION@ +XCB_DRI2_CFLAGS = @XCB_DRI2_CFLAGS@ +XCB_DRI2_LIBS = @XCB_DRI2_LIBS@ +XF86VIDMODE_CFLAGS = @XF86VIDMODE_CFLAGS@ +XF86VIDMODE_LIBS = @XF86VIDMODE_LIBS@ +XLIBGL_CFLAGS = @XLIBGL_CFLAGS@ +XLIBGL_LIBS = @XLIBGL_LIBS@ +XVMC_CFLAGS = @XVMC_CFLAGS@ +XVMC_LIBS = @XVMC_LIBS@ +XVMC_LIB_INSTALL_DIR = @XVMC_LIB_INSTALL_DIR@ +XVMC_MAJOR = @XVMC_MAJOR@ +XVMC_MINOR = @XVMC_MINOR@ +YACC = @YACC@ +YFLAGS = @YFLAGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +acv_mako_found = @acv_mako_found@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +ax_pthread_config = @ax_pthread_config@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +ifGNUmake = @ifGNUmake@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +GALLIUM_CFLAGS = \ + -I$(top_srcdir)/include \ + -I$(top_srcdir)/src \ + -I$(top_srcdir)/src/gallium/include \ + -I$(top_srcdir)/src/gallium/auxiliary \ + $(DEFINES) + + +# src/gallium/auxiliary must appear before src/gallium/drivers +# because there are stupidly two rbug_context.h files in +# different directories, and which one is included by the +# preprocessor is determined by the ordering of the -I flags. +GALLIUM_DRIVER_CFLAGS = \ + -I$(srcdir)/include \ + -I$(top_srcdir)/src \ + -I$(top_srcdir)/include \ + -I$(top_srcdir)/src/gallium/include \ + -I$(top_srcdir)/src/gallium/auxiliary \ + -I$(top_srcdir)/src/gallium/drivers \ + -I$(top_srcdir)/src/gallium/winsys \ + $(DEFINES) \ + $(VISIBILITY_CFLAGS) + +GALLIUM_DRIVER_CXXFLAGS = \ + -I$(srcdir)/include \ + -I$(top_srcdir)/src \ + -I$(top_srcdir)/include \ + -I$(top_srcdir)/src/gallium/include \ + -I$(top_srcdir)/src/gallium/auxiliary \ + -I$(top_srcdir)/src/gallium/drivers \ + -I$(top_srcdir)/src/gallium/winsys \ + $(DEFINES) \ + $(VISIBILITY_CXXFLAGS) + +GALLIUM_TARGET_CFLAGS = \ + -I$(top_srcdir)/src \ + -I$(top_srcdir)/include \ + -I$(top_srcdir)/src/loader \ + -I$(top_srcdir)/src/gallium/include \ + -I$(top_srcdir)/src/gallium/auxiliary \ + -I$(top_srcdir)/src/gallium/drivers \ + -I$(top_srcdir)/src/gallium/winsys \ + $(DEFINES) \ + $(PTHREAD_CFLAGS) \ + $(LIBDRM_CFLAGS) \ + $(VISIBILITY_CFLAGS) + +GALLIUM_COMMON_LIB_DEPS = \ + -lm \ + $(CLOCK_LIB) \ + $(PTHREAD_LIBS) \ + $(DLOPEN_LIBS) + +GALLIUM_WINSYS_CFLAGS = \ + -I$(top_srcdir)/src \ + -I$(top_srcdir)/include \ + -I$(top_srcdir)/src/gallium/include \ + -I$(top_srcdir)/src/gallium/auxiliary \ + $(DEFINES) \ + $(VISIBILITY_CFLAGS) + +GALLIUM_PIPE_LOADER_WINSYS_LIBS = \ + $(top_builddir)/src/gallium/winsys/sw/null/libws_null.la \ + $(top_builddir)/src/gallium/winsys/sw/wrapper/libwsw.la \ + $(am__append_1) +AM_CPPFLAGS = $(GALLIUM_CFLAGS) -I$(top_srcdir)/include \ + -I$(top_srcdir)/src/gallium/drivers \ + -I$(top_srcdir)/src/gallium/winsys $(LIBDRM_CFLAGS) \ + $(VISIBILITY_CFLAGS) -DGALLIUM_RBUG -DGALLIUM_TRACE \ + $(am__append_16) $(am__append_18) +pipedir = $(libdir)/gallium-pipe +pipe_LTLIBRARIES = $(am__append_8) $(am__append_9) $(am__append_10) \ + $(am__append_11) $(am__append_12) $(am__append_13) \ + $(am__append_14) $(am__append_15) $(am__append_17) +PIPE_LIBS = $(am__append_2) $(am__append_3) $(am__append_4) \ + $(top_builddir)/src/gallium/auxiliary/libgallium.la \ + $(top_builddir)/src/glsl/libnir.la \ + $(top_builddir)/src/libglsl_util.la \ + $(top_builddir)/src/util/libmesautil.la \ + $(top_builddir)/src/gallium/drivers/rbug/librbug.la \ + $(top_builddir)/src/gallium/drivers/trace/libtrace.la \ + $(GALLIUM_COMMON_LIB_DEPS) $(am__append_6) +AM_LDFLAGS = -module -no-undefined -avoid-version $(GC_SECTIONS) \ + $(LD_NO_UNDEFINED) $(am__append_5) $(am__append_7) +@HAVE_GALLIUM_I915_TRUE@pipe_i915_la_SOURCES = pipe_i915.c +@HAVE_GALLIUM_I915_TRUE@nodist_EXTRA_pipe_i915_la_SOURCES = dummy.cpp +@HAVE_GALLIUM_I915_TRUE@pipe_i915_la_LIBADD = \ +@HAVE_GALLIUM_I915_TRUE@ $(PIPE_LIBS) \ +@HAVE_GALLIUM_I915_TRUE@ $(top_builddir)/src/gallium/winsys/i915/drm/libi915drm.la \ +@HAVE_GALLIUM_I915_TRUE@ $(top_builddir)/src/gallium/drivers/i915/libi915.la \ +@HAVE_GALLIUM_I915_TRUE@ $(LIBDRM_LIBS) \ +@HAVE_GALLIUM_I915_TRUE@ $(INTEL_LIBS) + +@HAVE_GALLIUM_ILO_TRUE@pipe_i965_la_SOURCES = pipe_i965.c +@HAVE_GALLIUM_ILO_TRUE@nodist_EXTRA_pipe_i965_la_SOURCES = dummy.cpp +@HAVE_GALLIUM_ILO_TRUE@pipe_i965_la_LIBADD = \ +@HAVE_GALLIUM_ILO_TRUE@ $(PIPE_LIBS) \ +@HAVE_GALLIUM_ILO_TRUE@ $(top_builddir)/src/gallium/winsys/intel/drm/libintelwinsys.la \ +@HAVE_GALLIUM_ILO_TRUE@ $(top_builddir)/src/gallium/drivers/ilo/libilo.la \ +@HAVE_GALLIUM_ILO_TRUE@ $(LIBDRM_LIBS) \ +@HAVE_GALLIUM_ILO_TRUE@ $(INTEL_LIBS) + +@HAVE_GALLIUM_NOUVEAU_TRUE@pipe_nouveau_la_SOURCES = pipe_nouveau.c +@HAVE_GALLIUM_NOUVEAU_TRUE@nodist_EXTRA_pipe_nouveau_la_SOURCES = dummy.cpp +@HAVE_GALLIUM_NOUVEAU_TRUE@pipe_nouveau_la_LIBADD = \ +@HAVE_GALLIUM_NOUVEAU_TRUE@ $(PIPE_LIBS) \ +@HAVE_GALLIUM_NOUVEAU_TRUE@ $(top_builddir)/src/gallium/winsys/nouveau/drm/libnouveaudrm.la \ +@HAVE_GALLIUM_NOUVEAU_TRUE@ $(top_builddir)/src/gallium/drivers/nouveau/libnouveau.la \ +@HAVE_GALLIUM_NOUVEAU_TRUE@ $(LIBDRM_LIBS) \ +@HAVE_GALLIUM_NOUVEAU_TRUE@ $(NOUVEAU_LIBS) + +@HAVE_GALLIUM_R300_TRUE@pipe_r300_la_SOURCES = pipe_r300.c +@HAVE_GALLIUM_R300_TRUE@nodist_EXTRA_pipe_r300_la_SOURCES = dummy.cpp +@HAVE_GALLIUM_R300_TRUE@pipe_r300_la_LIBADD = \ +@HAVE_GALLIUM_R300_TRUE@ $(PIPE_LIBS) \ +@HAVE_GALLIUM_R300_TRUE@ $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \ +@HAVE_GALLIUM_R300_TRUE@ $(top_builddir)/src/gallium/drivers/r300/libr300.la \ +@HAVE_GALLIUM_R300_TRUE@ $(LIBDRM_LIBS) \ +@HAVE_GALLIUM_R300_TRUE@ $(RADEON_LIBS) + +@HAVE_GALLIUM_R600_TRUE@pipe_r600_la_SOURCES = pipe_r600.c +@HAVE_GALLIUM_R600_TRUE@nodist_EXTRA_pipe_r600_la_SOURCES = dummy.cpp +@HAVE_GALLIUM_R600_TRUE@pipe_r600_la_LIBADD = \ +@HAVE_GALLIUM_R600_TRUE@ $(PIPE_LIBS) \ +@HAVE_GALLIUM_R600_TRUE@ $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \ +@HAVE_GALLIUM_R600_TRUE@ $(top_builddir)/src/gallium/drivers/radeon/libradeon.la \ +@HAVE_GALLIUM_R600_TRUE@ $(top_builddir)/src/gallium/drivers/r600/libr600.la \ +@HAVE_GALLIUM_R600_TRUE@ $(LIBDRM_LIBS) \ +@HAVE_GALLIUM_R600_TRUE@ $(RADEON_LIBS) + +@HAVE_GALLIUM_RADEONSI_TRUE@pipe_radeonsi_la_SOURCES = pipe_radeonsi.c +@HAVE_GALLIUM_RADEONSI_TRUE@nodist_EXTRA_pipe_radeonsi_la_SOURCES = dummy.cpp +@HAVE_GALLIUM_RADEONSI_TRUE@pipe_radeonsi_la_LIBADD = \ +@HAVE_GALLIUM_RADEONSI_TRUE@ $(PIPE_LIBS) \ +@HAVE_GALLIUM_RADEONSI_TRUE@ $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \ +@HAVE_GALLIUM_RADEONSI_TRUE@ $(top_builddir)/src/gallium/winsys/amdgpu/drm/libamdgpuwinsys.la \ +@HAVE_GALLIUM_RADEONSI_TRUE@ $(top_builddir)/src/gallium/drivers/radeon/libradeon.la \ +@HAVE_GALLIUM_RADEONSI_TRUE@ $(top_builddir)/src/gallium/drivers/radeonsi/libradeonsi.la \ +@HAVE_GALLIUM_RADEONSI_TRUE@ $(LIBDRM_LIBS) \ +@HAVE_GALLIUM_RADEONSI_TRUE@ $(RADEON_LIBS) \ +@HAVE_GALLIUM_RADEONSI_TRUE@ $(AMDGPU_LIBS) + +@HAVE_GALLIUM_FREEDRENO_TRUE@pipe_msm_la_SOURCES = pipe_msm.c +@HAVE_GALLIUM_FREEDRENO_TRUE@nodist_EXTRA_pipe_msm_la_SOURCES = dummy.cpp +@HAVE_GALLIUM_FREEDRENO_TRUE@pipe_msm_la_LIBADD = \ +@HAVE_GALLIUM_FREEDRENO_TRUE@ $(PIPE_LIBS) \ +@HAVE_GALLIUM_FREEDRENO_TRUE@ $(top_builddir)/src/gallium/winsys/freedreno/drm/libfreedrenodrm.la \ +@HAVE_GALLIUM_FREEDRENO_TRUE@ $(top_builddir)/src/gallium/drivers/freedreno/libfreedreno.la \ +@HAVE_GALLIUM_FREEDRENO_TRUE@ $(LIBDRM_LIBS) \ +@HAVE_GALLIUM_FREEDRENO_TRUE@ $(FREEDRENO_LIBS) + +@HAVE_GALLIUM_SVGA_TRUE@pipe_vmwgfx_la_SOURCES = pipe_vmwgfx.c +@HAVE_GALLIUM_SVGA_TRUE@nodist_EXTRA_pipe_vmwgfx_la_SOURCES = dummy.cpp +@HAVE_GALLIUM_SVGA_TRUE@pipe_vmwgfx_la_LIBADD = \ +@HAVE_GALLIUM_SVGA_TRUE@ $(PIPE_LIBS) \ +@HAVE_GALLIUM_SVGA_TRUE@ $(top_builddir)/src/gallium/winsys/svga/drm/libsvgadrm.la \ +@HAVE_GALLIUM_SVGA_TRUE@ $(top_builddir)/src/gallium/drivers/svga/libsvga.la \ +@HAVE_GALLIUM_SVGA_TRUE@ $(LIBDRM_LIBS) + +@HAVE_GALLIUM_SOFTPIPE_TRUE@pipe_swrast_la_SOURCES = pipe_swrast.c +@HAVE_GALLIUM_SOFTPIPE_TRUE@nodist_EXTRA_pipe_swrast_la_SOURCES = dummy.cpp +@HAVE_GALLIUM_SOFTPIPE_TRUE@pipe_swrast_la_LIBADD = $(PIPE_LIBS) \ +@HAVE_GALLIUM_SOFTPIPE_TRUE@ $(top_builddir)/src/gallium/drivers/softpipe/libsoftpipe.la \ +@HAVE_GALLIUM_SOFTPIPE_TRUE@ $(am__append_19) +EXTRA_DIST = pipe.sym +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .cpp .lo .o .obj +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/src/gallium/Automake.inc $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/gallium/targets/pipe-loader/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign src/gallium/targets/pipe-loader/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; +$(top_srcdir)/src/gallium/Automake.inc $(am__empty): + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +install-pipeLTLIBRARIES: $(pipe_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(pipe_LTLIBRARIES)'; test -n "$(pipedir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(pipedir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(pipedir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pipedir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pipedir)"; \ + } + +uninstall-pipeLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(pipe_LTLIBRARIES)'; test -n "$(pipedir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pipedir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pipedir)/$$f"; \ + done + +clean-pipeLTLIBRARIES: + -test -z "$(pipe_LTLIBRARIES)" || rm -f $(pipe_LTLIBRARIES) + @list='$(pipe_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +pipe_i915.la: $(pipe_i915_la_OBJECTS) $(pipe_i915_la_DEPENDENCIES) $(EXTRA_pipe_i915_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) $(am_pipe_i915_la_rpath) $(pipe_i915_la_OBJECTS) $(pipe_i915_la_LIBADD) $(LIBS) + +pipe_i965.la: $(pipe_i965_la_OBJECTS) $(pipe_i965_la_DEPENDENCIES) $(EXTRA_pipe_i965_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) $(am_pipe_i965_la_rpath) $(pipe_i965_la_OBJECTS) $(pipe_i965_la_LIBADD) $(LIBS) + +pipe_msm.la: $(pipe_msm_la_OBJECTS) $(pipe_msm_la_DEPENDENCIES) $(EXTRA_pipe_msm_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) $(am_pipe_msm_la_rpath) $(pipe_msm_la_OBJECTS) $(pipe_msm_la_LIBADD) $(LIBS) + +pipe_nouveau.la: $(pipe_nouveau_la_OBJECTS) $(pipe_nouveau_la_DEPENDENCIES) $(EXTRA_pipe_nouveau_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) $(am_pipe_nouveau_la_rpath) $(pipe_nouveau_la_OBJECTS) $(pipe_nouveau_la_LIBADD) $(LIBS) + +pipe_r300.la: $(pipe_r300_la_OBJECTS) $(pipe_r300_la_DEPENDENCIES) $(EXTRA_pipe_r300_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) $(am_pipe_r300_la_rpath) $(pipe_r300_la_OBJECTS) $(pipe_r300_la_LIBADD) $(LIBS) + +pipe_r600.la: $(pipe_r600_la_OBJECTS) $(pipe_r600_la_DEPENDENCIES) $(EXTRA_pipe_r600_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) $(am_pipe_r600_la_rpath) $(pipe_r600_la_OBJECTS) $(pipe_r600_la_LIBADD) $(LIBS) + +pipe_radeonsi.la: $(pipe_radeonsi_la_OBJECTS) $(pipe_radeonsi_la_DEPENDENCIES) $(EXTRA_pipe_radeonsi_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) $(am_pipe_radeonsi_la_rpath) $(pipe_radeonsi_la_OBJECTS) $(pipe_radeonsi_la_LIBADD) $(LIBS) + +pipe_swrast.la: $(pipe_swrast_la_OBJECTS) $(pipe_swrast_la_DEPENDENCIES) $(EXTRA_pipe_swrast_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) $(am_pipe_swrast_la_rpath) $(pipe_swrast_la_OBJECTS) $(pipe_swrast_la_LIBADD) $(LIBS) + +pipe_vmwgfx.la: $(pipe_vmwgfx_la_OBJECTS) $(pipe_vmwgfx_la_DEPENDENCIES) $(EXTRA_pipe_vmwgfx_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) $(am_pipe_vmwgfx_la_rpath) $(pipe_vmwgfx_la_OBJECTS) $(pipe_vmwgfx_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dummy.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pipe_i915.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pipe_i965.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pipe_msm.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pipe_nouveau.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pipe_r300.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pipe_r600.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pipe_radeonsi.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pipe_swrast.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pipe_vmwgfx.Plo@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +.cpp.o: +@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< + +.cpp.obj: +@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.cpp.lo: +@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ +@am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) +installdirs: + for dir in "$(DESTDIR)$(pipedir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-pipeLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-pipeLTLIBRARIES + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-pipeLTLIBRARIES + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ + clean-libtool clean-pipeLTLIBRARIES cscopelist-am ctags \ + ctags-am distclean distclean-compile distclean-generic \ + distclean-libtool distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-pipeLTLIBRARIES install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am uninstall-pipeLTLIBRARIES + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/lib/mesa/src/gallium/targets/pipe-loader/pipe.sym b/lib/mesa/src/gallium/targets/pipe-loader/pipe.sym new file mode 100644 index 000000000..19b1d77b0 --- /dev/null +++ b/lib/mesa/src/gallium/targets/pipe-loader/pipe.sym @@ -0,0 +1,7 @@ +{ + global: + driver_descriptor; + swrast_create_screen; + local: + *; +}; diff --git a/lib/mesa/src/gallium/targets/pipe-loader/pipe_i915.c b/lib/mesa/src/gallium/targets/pipe-loader/pipe_i915.c new file mode 100644 index 000000000..b0da6137f --- /dev/null +++ b/lib/mesa/src/gallium/targets/pipe-loader/pipe_i915.c @@ -0,0 +1,50 @@ + +#include "target-helpers/inline_debug_helper.h" +#include "state_tracker/drm_driver.h" +#include "i915/drm/i915_drm_public.h" +#include "i915/i915_public.h" + +static struct pipe_screen * +create_screen(int fd) +{ + struct i915_winsys *iws; + struct pipe_screen *screen; + + iws = i915_drm_winsys_create(fd); + if (!iws) + return NULL; + + screen = i915_screen_create(iws); + if (!screen) + return NULL; + + screen = debug_screen_wrap(screen); + + return screen; +} + +static const struct drm_conf_ret throttle_ret = { + .type = DRM_CONF_INT, + .val.val_int = 2, +}; + +static const struct drm_conf_ret share_fd_ret = { + .type = DRM_CONF_BOOL, + .val.val_int = true, +}; + +static const struct drm_conf_ret *drm_configuration(enum drm_conf conf) +{ + switch (conf) { + case DRM_CONF_THROTTLE: + return &throttle_ret; + case DRM_CONF_SHARE_FD: + return &share_fd_ret; + default: + break; + } + return NULL; +} + +PUBLIC +DRM_DRIVER_DESCRIPTOR("i915", "i915", create_screen, drm_configuration) diff --git a/lib/mesa/src/gallium/targets/pipe-loader/pipe_i965.c b/lib/mesa/src/gallium/targets/pipe-loader/pipe_i965.c new file mode 100644 index 000000000..810dffca8 --- /dev/null +++ b/lib/mesa/src/gallium/targets/pipe-loader/pipe_i965.c @@ -0,0 +1,47 @@ +#include "target-helpers/inline_debug_helper.h" +#include "state_tracker/drm_driver.h" +#include "intel/drm/intel_drm_public.h" +#include "ilo/ilo_public.h" + +static struct pipe_screen * +create_screen(int fd) +{ + struct intel_winsys *iws; + struct pipe_screen *screen; + + iws = intel_winsys_create_for_fd(fd); + if (!iws) + return NULL; + + screen = ilo_screen_create(iws); + if (!screen) + return NULL; + + screen = debug_screen_wrap(screen); + + return screen; +} +static const struct drm_conf_ret throttle_ret = { + .type = DRM_CONF_INT, + .val.val_int = 2, +}; + +static const struct drm_conf_ret share_fd_ret = { + .type = DRM_CONF_BOOL, + .val.val_int = true, +}; + +static const struct drm_conf_ret *drm_configuration(enum drm_conf conf) +{ + switch (conf) { + case DRM_CONF_THROTTLE: + return &throttle_ret; + case DRM_CONF_SHARE_FD: + return &share_fd_ret; + default: + break; + } + return NULL; +} +PUBLIC +DRM_DRIVER_DESCRIPTOR("i965", "i915", create_screen, drm_configuration) diff --git a/lib/mesa/src/gallium/targets/pipe-loader/pipe_msm.c b/lib/mesa/src/gallium/targets/pipe-loader/pipe_msm.c new file mode 100644 index 000000000..8a44edd22 --- /dev/null +++ b/lib/mesa/src/gallium/targets/pipe-loader/pipe_msm.c @@ -0,0 +1,44 @@ + +#include "target-helpers/inline_debug_helper.h" +#include "state_tracker/drm_driver.h" +#include "freedreno/drm/freedreno_drm_public.h" + +static struct pipe_screen * +create_screen(int fd) +{ + struct pipe_screen *screen; + + screen = fd_drm_screen_create(fd); + if (!screen) + return NULL; + + screen = debug_screen_wrap(screen); + + return screen; +} + +static const struct drm_conf_ret throttle_ret = { + .type = DRM_CONF_INT, + .val.val_int = 2, +}; + +static const struct drm_conf_ret share_fd_ret = { + .type = DRM_CONF_BOOL, + .val.val_int = true, +}; + +static const struct drm_conf_ret *drm_configuration(enum drm_conf conf) +{ + switch (conf) { + case DRM_CONF_THROTTLE: + return &throttle_ret; + case DRM_CONF_SHARE_FD: + return &share_fd_ret; + default: + break; + } + return NULL; +} + +PUBLIC +DRM_DRIVER_DESCRIPTOR("msm", "freedreno", create_screen, drm_configuration) diff --git a/lib/mesa/src/gallium/targets/pipe-loader/pipe_nouveau.c b/lib/mesa/src/gallium/targets/pipe-loader/pipe_nouveau.c new file mode 100644 index 000000000..825b36f60 --- /dev/null +++ b/lib/mesa/src/gallium/targets/pipe-loader/pipe_nouveau.c @@ -0,0 +1,44 @@ + +#include "target-helpers/inline_debug_helper.h" +#include "state_tracker/drm_driver.h" +#include "nouveau/drm/nouveau_drm_public.h" + +static struct pipe_screen * +create_screen(int fd) +{ + struct pipe_screen *screen; + + screen = nouveau_drm_screen_create(fd); + if (!screen) + return NULL; + + screen = debug_screen_wrap(screen); + + return screen; +} + +static const struct drm_conf_ret throttle_ret = { + .type = DRM_CONF_INT, + .val.val_int = 2, +}; + +static const struct drm_conf_ret share_fd_ret = { + .type = DRM_CONF_BOOL, + .val.val_int = true, +}; + +static const struct drm_conf_ret *drm_configuration(enum drm_conf conf) +{ + switch (conf) { + case DRM_CONF_THROTTLE: + return &throttle_ret; + case DRM_CONF_SHARE_FD: + return &share_fd_ret; + default: + break; + } + return NULL; +} + +PUBLIC +DRM_DRIVER_DESCRIPTOR("nouveau", "nouveau", create_screen, drm_configuration) diff --git a/lib/mesa/src/gallium/targets/pipe-loader/pipe_r300.c b/lib/mesa/src/gallium/targets/pipe-loader/pipe_r300.c new file mode 100644 index 000000000..368b8c223 --- /dev/null +++ b/lib/mesa/src/gallium/targets/pipe-loader/pipe_r300.c @@ -0,0 +1,40 @@ +#include "target-helpers/inline_debug_helper.h" +#include "state_tracker/drm_driver.h" +#include "radeon/drm/radeon_drm_public.h" +#include "radeon/radeon_winsys.h" +#include "r300/r300_public.h" + +static struct pipe_screen * +create_screen(int fd) +{ + struct radeon_winsys *sws; + + sws = radeon_drm_winsys_create(fd, r300_screen_create); + return sws ? debug_screen_wrap(sws->screen) : NULL; +} + +static const struct drm_conf_ret throttle_ret = { + .type = DRM_CONF_INT, + .val.val_int = 2, +}; + +static const struct drm_conf_ret share_fd_ret = { + .type = DRM_CONF_BOOL, + .val.val_int = true, +}; + +static const struct drm_conf_ret *drm_configuration(enum drm_conf conf) +{ + switch (conf) { + case DRM_CONF_THROTTLE: + return &throttle_ret; + case DRM_CONF_SHARE_FD: + return &share_fd_ret; + default: + break; + } + return NULL; +} + +PUBLIC +DRM_DRIVER_DESCRIPTOR("r300", "radeon", create_screen, drm_configuration) diff --git a/lib/mesa/src/gallium/targets/pipe-loader/pipe_r600.c b/lib/mesa/src/gallium/targets/pipe-loader/pipe_r600.c new file mode 100644 index 000000000..65b11c8ba --- /dev/null +++ b/lib/mesa/src/gallium/targets/pipe-loader/pipe_r600.c @@ -0,0 +1,40 @@ +#include "state_tracker/drm_driver.h" +#include "target-helpers/inline_debug_helper.h" +#include "radeon/drm/radeon_drm_public.h" +#include "radeon/radeon_winsys.h" +#include "r600/r600_public.h" + +static struct pipe_screen * +create_screen(int fd) +{ + struct radeon_winsys *rw; + + rw = radeon_drm_winsys_create(fd, r600_screen_create); + return rw ? debug_screen_wrap(rw->screen) : NULL; +} + +static const struct drm_conf_ret throttle_ret = { + .type = DRM_CONF_INT, + .val.val_int = 2, +}; + +static const struct drm_conf_ret share_fd_ret = { + .type = DRM_CONF_BOOL, + .val.val_int = true, +}; + +static const struct drm_conf_ret *drm_configuration(enum drm_conf conf) +{ + switch (conf) { + case DRM_CONF_THROTTLE: + return &throttle_ret; + case DRM_CONF_SHARE_FD: + return &share_fd_ret; + default: + break; + } + return NULL; +} + +PUBLIC +DRM_DRIVER_DESCRIPTOR("r600", "radeon", create_screen, drm_configuration) diff --git a/lib/mesa/src/gallium/targets/pipe-loader/pipe_radeonsi.c b/lib/mesa/src/gallium/targets/pipe-loader/pipe_radeonsi.c new file mode 100644 index 000000000..31077af6a --- /dev/null +++ b/lib/mesa/src/gallium/targets/pipe-loader/pipe_radeonsi.c @@ -0,0 +1,46 @@ +#include "state_tracker/drm_driver.h" +#include "target-helpers/inline_debug_helper.h" +#include "radeon/drm/radeon_drm_public.h" +#include "radeon/radeon_winsys.h" +#include "amdgpu/drm/amdgpu_public.h" +#include "radeonsi/si_public.h" + +static struct pipe_screen * +create_screen(int fd) +{ + struct radeon_winsys *rw; + + /* First, try amdgpu. */ + rw = amdgpu_winsys_create(fd, radeonsi_screen_create); + + if (!rw) + rw = radeon_drm_winsys_create(fd, radeonsi_screen_create); + + return rw ? debug_screen_wrap(rw->screen) : NULL; +} + +static const struct drm_conf_ret throttle_ret = { + .type = DRM_CONF_INT, + .val.val_int = 2, +}; + +static const struct drm_conf_ret share_fd_ret = { + .type = DRM_CONF_BOOL, + .val.val_int = true, +}; + +static const struct drm_conf_ret *drm_configuration(enum drm_conf conf) +{ + switch (conf) { + case DRM_CONF_THROTTLE: + return &throttle_ret; + case DRM_CONF_SHARE_FD: + return &share_fd_ret; + default: + break; + } + return NULL; +} + +PUBLIC +DRM_DRIVER_DESCRIPTOR("radeonsi", "radeon", create_screen, drm_configuration) diff --git a/lib/mesa/src/gallium/targets/pipe-loader/pipe_swrast.c b/lib/mesa/src/gallium/targets/pipe-loader/pipe_swrast.c new file mode 100644 index 000000000..f7f354acf --- /dev/null +++ b/lib/mesa/src/gallium/targets/pipe-loader/pipe_swrast.c @@ -0,0 +1,19 @@ + +#include "target-helpers/inline_sw_helper.h" +#include "target-helpers/inline_debug_helper.h" +#include "state_tracker/drm_driver.h" + +PUBLIC struct pipe_screen * +swrast_create_screen(struct sw_winsys *ws); + +struct pipe_screen * +swrast_create_screen(struct sw_winsys *ws) +{ + struct pipe_screen *screen; + + screen = sw_screen_create(ws); + if (screen) + screen = debug_screen_wrap(screen); + + return screen; +} diff --git a/lib/mesa/src/gallium/targets/pipe-loader/pipe_vmwgfx.c b/lib/mesa/src/gallium/targets/pipe-loader/pipe_vmwgfx.c new file mode 100644 index 000000000..71015dfad --- /dev/null +++ b/lib/mesa/src/gallium/targets/pipe-loader/pipe_vmwgfx.c @@ -0,0 +1,50 @@ + +#include "target-helpers/inline_debug_helper.h" +#include "state_tracker/drm_driver.h" +#include "svga/drm/svga_drm_public.h" +#include "svga/svga_public.h" + +static struct pipe_screen * +create_screen(int fd) +{ + struct svga_winsys_screen *sws; + struct pipe_screen *screen; + + sws = svga_drm_winsys_screen_create(fd); + if (!sws) + return NULL; + + screen = svga_screen_create(sws); + if (!screen) + return NULL; + + screen = debug_screen_wrap(screen); + + return screen; +} + +static const struct drm_conf_ret throttle_ret = { + .type = DRM_CONF_INT, + .val.val_int = 2, +}; + +static const struct drm_conf_ret share_fd_ret = { + .type = DRM_CONF_BOOL, + .val.val_int = true, +}; + +static const struct drm_conf_ret *drm_configuration(enum drm_conf conf) +{ + switch (conf) { + case DRM_CONF_THROTTLE: + return &throttle_ret; + case DRM_CONF_SHARE_FD: + return &share_fd_ret; + default: + break; + } + return NULL; +} + +PUBLIC +DRM_DRIVER_DESCRIPTOR("vmwgfx", "vmwgfx", create_screen, drm_configuration) |