Mesa (master): 26 new commits

Emil Velikov evelikov at kemper.freedesktop.org
Mon Mar 31 14:01:04 UTC 2014


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d681b22ed77274a805c6c8e81925c18eeb57a968
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Mar 11 17:58:08 2014 +0000

    automake: ask the linker to do garbage collection
    
    By doing GC the linker removes all the symbols that are not referenced
    and/or used by the final library. This results in a saving of ~100K
    up-to ~600K per (stripped) binary (classic vs gallium drivers).
    
    If interested one can ask the compiler to print the sections that are
    removed using -Wl,--print-gc-sections.
    
    v2: Check if ld supports the flag before using it.
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Acked-by: Matt Turner <mattst88 at gmail.com> (v1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d187a150d45cbf5bd3476eab49be5057382c2c86
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Thu Mar 13 05:44:33 2014 +0000

    automake: add -Wl,--no-undefined to all libraries
    
    ... apart from the dri drivers.
    With this final change we can build mesa without fear that
    the resulting libraries will have unresolved symbols.
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=902dc61f886c0d719ce25894bbc8032ede0f409b
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Thu Mar 27 20:32:41 2014 +0000

    gallium/targets: add missing library dependencies
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=354a5cad74c38d2211e7f0ad485cc302fe51b3f0
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Mon Mar 31 13:05:14 2014 +0100

    pipe-loader: reorder PIPE_LIBS
    
    Reorder -lm, -lrt, -lpthreads and -ldl to be consistent with the
    rest of mesa.
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0177ff0039613f5fbfffa90c9971cdef17550206
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Thu Mar 27 20:21:52 2014 +0000

    pipe-loader: use PTHREAD_LIBS over -lpthread
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=501af7a1a0eab0d5d1d7427cbdbe50e783e5f447
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Wed Mar 12 01:49:20 2014 +0000

    dri/i965: use CLOCK_LIBS over -lrt
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5503c227d98c6030455cc94197d462a066294f37
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Thu Mar 13 02:32:29 2014 +0000

    automake: consistently use -no-undefined
    
    Set the flag for all but the dri targets. They have missing
    glapi symbols which are required for the normal operation with
    the X server.
    
    Jon, I fear that you'll need to carry the "no-undefined" hunk
    locally when building the dri drivers under cygwin.
    
    Cc: Jon TURNEY <jon.turney at dronecode.org.uk>
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6c8d8119caf99fffcfb2f50763267ae0a9ed8738
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Mar 11 16:05:53 2014 +0000

    targets/egl-static: move the common LDFLAGS into AM_LDFLAGS
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c3232732019703cf0aec419a9ee11dd47ac798e0
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Fri Mar 28 12:22:44 2014 +0000

    targets/omx: do not link against the trace driver
    
    Unused due to the missing GALLIUM_TRACE define.
    
    Requested-by: Christian König <christian.koenig at amd.com>
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Christian König <christian.koenig at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0484b8446a02a4b77d5a1dab89f6e0b8af831027
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Mar 11 15:24:07 2014 +0000

    gallium/targets: explicitly include a dummy.cpp and remove all the LINK mayhem
    
    Explicitly setting the linker variable was required for old and broken
    build toolchains. At this point this should no longer be needed, and
    setting the sources lists will trigger generation of the correct LINK
    variables.
    
    Explicitly include dummy.cpp to use g++ to link the static library which
    in most cases is based upon C++ code.
    
    v2: Reword commit message.
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d9c33009a62b704e64b49b87ed1cee9c8dcb12b
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Mar 11 13:34:53 2014 +0000

    gallium/targets: move LLVM_LIBS handling inside Automake.inc
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2328900f66b4b1d682d79deeb4b66249991c4e89
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Mar 11 02:21:21 2014 +0000

    gallium/targets: fold LLVM_LDFLAGS inside Automake.inc
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ea1767f72906d833bf9070c2aa9e664885ed72d
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Thu Mar 13 02:28:21 2014 +0000

    targets/omx: use GALLIUM_OMX_LINKER_FLAGS
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Christian König <christian.koenig at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e6f8db1e56ad4ec2e51963f424d11b72f2b195cb
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Mar 11 02:45:23 2014 +0000

    targets/omx: introduce GALLIUM_OMX_LIB_DEPS
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Christian König <christian.koenig at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=55bc658e4be37b3298e86a5c7bd9f998d673dca4
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Mar 11 14:45:30 2014 +0000

    targets/pipe-loader: move LLVM_LIBS handling inside PIPE_LIBS
    
    This lets us have only one if HAVE_MESA_LLVM block, rather than
    one for each driver.
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e36cc998803c775df084d258e09183d0b31cff04
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Mar 11 01:56:04 2014 +0000

    targets/pipe-loader: include dummy.cpp irrespective of HAVE_MESA_LLVM
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=029bc4510bff9d1d7a6c1150017a9409bf1cda3a
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Mar 11 01:52:00 2014 +0000

    targets/pipe-loader: compact duplicating LDFLAGS
    
    Every library uses the same libtool/linker flags. Compact those
    into AM_LDFLAGS and append the version script to it.
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e6545aaaeb2be6873e21ac813b083504ac852ecd
Author: Joakim Sindholt <opensource at zhasha.com>
Date:   Tue Mar 11 01:46:55 2014 +0000

    pipe-loader/swrast: add soft/llvmpipe defines
    
    Or it compiles them in, but pretends they don't exist
    
    v2: Rebase (Emil)
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=613b4d59e4bf76542d0821c08315fe5370051b96
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Mar 11 00:42:48 2014 +0000

    targets/xa: drop libudev references from automake build
    
    Mesa does _not_ link against libudev. Additionally the only place
    that deals with it is the loader, thus we can drop the CFLAGS.
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5466b7b9349999ea113f1b6805109b043ad8259
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Mar 11 00:19:16 2014 +0000

    dri/common: LIBDRM_LIBS is not a linker/libtool flag, add it to LIBADD
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=46ae286b9d420702d46475ca43394ee36a087dab
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Mar 11 00:01:33 2014 +0000

    drivers/x11: GL_LIB_DEPS is not a linker/libtool flag, add it to LIBADD
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e62b7d38a1d9901e1c8b2cb79b815835cf767740
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Thu Mar 13 04:25:17 2014 +0000

    configure: autodetect video state-trackers when non swrast driver is present
    
    It makes little sense to enable the vdpau, xvmc and omx state-trackers
    as they do not make use of (don't work with) the software driver.
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3dc174e85e4d81a37b053183142e87afb93eb4bf
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Wed Mar 12 02:37:55 2014 +0000

    configure: use grep in quiet mode, rather than piping stderr/stdout to /dev/null
    
    grep -q is easier to read and consistent with the rest of configure.ac.
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e8e1158ac35d21a16b47ada09a6dc5fa9d7764d8
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Wed Mar 12 00:36:21 2014 +0000

    configure: error out when building gallium-osmesa without softpipe
    
    Gallium osmesa links against the softpipe driver, thus the build
    will fail if it's missing.
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Acked-by: Matt Turner <mattst88 at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d8267ef209f29cbfe0075500083a2721a9aa885
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Wed Mar 12 18:13:02 2014 +0000

    Partially revert "automake: allow only shared builds"
    
    Evidently at least static OSMesa is still used as shared one
    causes substantial increase in the load time for some programs
    that use it (from seconds up-to ~30min).
    
    Rather than forcing everyone to use shared mesa, revert commit
    a6efbac9fb502c4f0166e7a0680b6828e1f6926c and default to shared
    build when both shared and static are disabled.
    
    v2: Whitespace cleanup, drop silly comment.
    
    Reported-by: Burlen Loring <burlen.loring at gmail.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=23740ed031f4a5fb308e03a4d239ab3db31fffd9
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Fri Mar 21 18:09:36 2014 +0000

    configure: enable dri3 only for linux
    
    Currently only linux can make use of dri3, so it would make sense to
    enable it explicitly for the platform.
    Drop a duplicated libudev check while we're at it.
    
    v3: Properly handle dri3 and reword commit message.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76377
    Cc: "10.1" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>




More information about the mesa-commit mailing list