Mesa (master): 30 new commits

Emil Velikov evelikov at kemper.freedesktop.org
Tue Aug 12 23:48:53 UTC 2014


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=52901ec2615761390f5ef97b11516dae330d27d1
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Mon Aug 4 19:11:41 2014 +0100

    android: add CleanSpec.mk
    
    The file contains rules that are executed on incremental builds. This
    way one can avoid doing a full clean and ensure that the new object
    (library) is correctly build.
    
    Inspired by the work of Chih-Wei Huang, from the Android-x86 project.
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=38df9f8a06f7411150d03ed31400c5a4350538e0
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Mon Aug 4 19:03:44 2014 +0100

    android: megadriver_stub: prefix static libraries with libmesa_
    
    Will make it easier on us as CleanSpec.mk comes along and improves
    consistency across the Android build.
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=73121a34d455d1a79c10e859e0d47849614b1d00
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Mon Aug 4 18:59:58 2014 +0100

    android: loader: prefix static libraries with libmesa_*
    
    Will make it easier on us as CleanSpec.mk comes along and improves
    consistency across the Android build.
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=db4d7229bc4687714ee5384667eeda4224c13631
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Jul 29 00:32:04 2014 +0100

    android: dri/i9*5: remove used _INCLUDES variable
    
    No longer needed as of last commit.
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=725373275c3689ddaf8536a29d871272c06807e3
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Jul 29 01:21:34 2014 +0100

    android: drivers/dri: add $(mesa_top)/src to the includes list
    
    Will allow us to nuke an include or two from the drivers.
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=48307eb81341cf5682be8e0b4b468746ff09a0a0
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Jul 29 00:27:32 2014 +0100

    android: dri: use the installed libdrm headers
    
    Saves us a few lines and brings us closer to the automake build.
    Drop DRM_TOP as it's not longer used.
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1cc3f2f194da54525607435b9e272f66d83c6cb
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Jul 29 00:22:05 2014 +0100

    android: gallium: use the installed libdrm headers
    
    Saves us a few lines and brings us closer to the automake build.
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5f3022e97f252a835af516ec7ba1aba964650330
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Jul 29 00:18:11 2014 +0100

    android: loader: use the installed libdrm headers
    
    One step closer to the way we handle automake builds.
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=db064b7054f883868f4971791d7a6bd60b563efe
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Jul 29 00:16:01 2014 +0100

    android: egl/dri2: use the installed libdrm headers
    
    Trying to get rid of the hardcoded dependency of DRM_TOP which
    expects that mesa is localted in /external/drm. Will
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5facd003a0cac1c8d8398fe8a10d542d1830f489
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Tue Jul 29 00:33:30 2014 +0100

    android: dri/i915: do not build an 'empty' driver
    
    The variable i915_C_FILES changed to i915_FILES with commit
    34d4216e641 back in mesa 9.1/9.2. Yet we've missed to update the
    the android build, essentially creating an dummy/empty driver that
    can never work.
    
    Cc: "10.1 10.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa4aeb3c65e487c22c7a1bc2bdcedae8d8ec93f0
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Fri Aug 1 17:12:07 2014 +0100

    automake: mesa: whitespace fixes
    
    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=b3121bfd413973f460e2cc9a9f852bdfa1265fcf
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Fri Aug 1 17:06:10 2014 +0100

    mesa: guard better when building with sse4.1 optimisations
    
    When the compiler is not capable/does not accept -msse4.1 while the target
    has the instruction set we'll blow up as _mesa_streaming_load_memcpy is
    going to be undefined.
    
    To make sure that never happens, wrap the runtime cpu check+caller in an
    ifdef thus do not compile that hunk of the code.
    
    Fix the android build by enabling the optimisation and adding the define
    where applicable.
    
    v2: autoconf conditionals end with "fi" rather than endif.
    v3: Wrap the definition and call to intel_miptree_{un,}map_movntdqa in
    if defined(USE_SSE41). Spotted by Matt.
    
    Cc: Matt Turner <mattst88 at gmail.com>
    Cc: Adrian Negreanu <adrian.m.negreanu at intel.com>
    Cc: "10.1 10.2" <mesa-stable at lists.freedesktop.org>
    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=07f583186dd4c5a92f6382c4c232a6a96bd049a6
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Mon Jul 28 20:24:02 2014 +0100

    android: glsl: the stlport over the limited Android STL
    
    The latter lacks various functionality used by mesa/glsl.
    
    Cc: "10.1 10.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dfa6dc5eb8e76953bfc45a966813f736b0aa2346
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Sun Jul 27 03:27:08 2014 +0100

    android: drop HAL_PIXEL_FORMAT_RGBA_{5551,4444}
    
    Upstream Android (system/core) has dropped these formats with commit
    6bac41f1bf9(get rid of HAL pixelformats 5551 and 4444) yet does not
    mention why.
    
    These formats never really worked so we're safe to drop them as well.
    
    Identical commit is available in the android-x86 external/mesa repo
    
        commit 06a2d36edcd1e2247440e5800e6bf3028f37aee6
        Author: Chih-Wei Huang <cwhuang at linux.org.tw>
        Date:   Wed Sep 25 01:16:57 2013 +0800
    
            android: get rid of HAL pixelformats 5551 and 4444
    
    Cc: "10.1 10.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=51a9a09ba8ca9a9d7bc00e3fac281a11cc94fd02
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Sun Jul 27 03:03:30 2014 +0100

    android: gallium/auxiliary: drop log2/log2f redefitions
    
    Recent versions of bionic has picked up support for these functions,
    leading to build issues due to the redefition of the symbols.
    
    Note: wrapping things in #ifdef does not cut it :\
    
    Identical patch is available in chromium, android-x86 and perhaps other
    projects.
    
        commit 66c1c789ce3407472de9ed620c9f815639058835
        Author: rmcilroy at chromium.org
        Date:   Wed Apr 02 10:59:34 2014 +0000
    
            Porting to x64 Android. Remove redefinitions of log2 and log2f.
    
            BUG=
            R=kbr at chromium.org
    
            Review URL: https://codereview.chromium.org/216773005
    
        commit 9cc0a0d2b0499556680b182888af86f29d4ec30b
        Author: Chih-Wei Huang <cwhuang at linux.org.tw>
        Date:   Sun Jul 21 23:04:19 2013 +0800
    
            android: remove log2, log2f
    
            The functions are already defined in the latest bionic.
    
    Cc: Chia-I Wu <olvaffe at gmail.com>
    Cc: "10.1 10.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Acked-by: Chia-I Wu <olvaffe at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e748183748734627533817663b38ede4acb0e55
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Sat Jul 26 23:20:44 2014 +0100

    android: targets/egl-static: add correct include for DRM headers
    
    Android build never really installs the headers, as such we need to
    explicitly add their location in the source tree otherwise it will
    fail to find them.
    
    v2: Android now installs the headers, so let's use that ;)
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b72b826ef8e8a4384a7148049a86f2fea116ca4f
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Sun Jul 20 23:40:14 2014 +0100

    scons: group state-trackers' and targets' scons
    
    Both share the identical dependencies, as such we can simplify
    the scons script.
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec668cbf8be1dd79ca0b7a9b68618dcefc729312
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Sun Jul 20 22:20:04 2014 +0100

    android: reorder gallium SUBDIRS
    
    To be closer to its automake counterpart.
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b75e0d7e25c51f944347cd59ccfaf26bf917258f
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Sun Jul 20 23:20:57 2014 +0100

    automake: handle gallium SUBDIRs in gallium/Makefile
    
    Considering the way we've been consolidating things it makes
    sense to add the final two (aux and tests) in here.
    
    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=7af25d17a5956106c5319ba8cd7d947fbab76f6b
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Sun Jul 20 23:12:08 2014 +0100

    automake: compact gallium/target/Makefile into gallium/Makefile
    
    Yet another makefile less to worry about.
    
    v2: Add state_trackers and targets on a single SUBDIRS line.
    Requested by Matt.
    
    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=eeb56b6b438e5acc5e90d0981fb455ba90b1e01a
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Wed Aug 13 00:03:19 2014 +0100

    automake: merge gallium/state_trackers/Makefile into gallium/Makefile
    
    One makefile less, with the potential of further compacting the
    automake build.
    
    v2: Rebase on top of vc4 changes.
    
    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=fd7da27a43182169e6306d9df39e7e9498e38d28
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Wed Aug 13 00:00:50 2014 +0100

    automake: compact gallium/drivers and gallium/winsys makefiles
    
    Rather than having two separate almost empty and identical makefiles,
    compact them thus improving the configure and build time.
    Additionally this makes the automake build symmetrical to the scons
    and android one.
    
    v2: Rebase on top of vc4, compact drivers + winsys on a single line.
    
    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=792041ebe5d6ccfdd03cf6903f4942aa115387c6
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Sun Jul 20 22:21:23 2014 +0100

    android: egl/main: add/enable freedreno
    
    For all everyone willing to give the freedreno driver
    a go they can now build it under Android.
    
    Cc: "10.1 10.2" <mesa-stable at lists.freedesktop.org>
    Cc: Rob Clark <robclark at freedesktop.org>
    Cc: freedreno at lists.freedesktop.org
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf05e067577a8d8e87a377dfb357806b67b6afca
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Sun Jul 20 22:13:34 2014 +0100

    android: gallium/freedreno: add preliminary build
    
    For all the people interested in testing the freedreno driver on
    their Android devices. The next commit will hook these up within
    the libEGL driver (via the gallium-egl backend).
    
    There may be some rough edges but those can be sorted when a
    willing builder/tester comes along.
    
    v2:
     - s/freefreno/freedreno/. Spotted by Matt Turner.
     - Use the installed libdrm headers.
    
    Cc: "10.1 10.2" <mesa-stable at lists.freedesktop.org>
    Cc: Rob Clark <robclark at freedesktop.org>
    Cc: freedreno at lists.freedesktop.org
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=458d03a4a4cebe7b9e9ea265d18bfc547bc4b49c
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Mon Jul 28 19:45:09 2014 +0100

    automake: gallium/freedreno: drop spurious include dirs
    
    Rather than including two extra folders only for two headers,
    just prefix the headers and be done with it.
    
    Cc: "10.1 10.2" <mesa-stable at lists.freedesktop.org>
    Cc: Rob Clark <robclark at freedesktop.org>
    Cc: freedreno at lists.freedesktop.org
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Rob Clark <robdclark at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aae453afe8516cea330b65998741b8809e7ea7f2
Author: Paulo Sergio Travaglia <pstglia at gmail.com>
Date:   Sun Jul 20 21:53:56 2014 +0100

    android: egl/main: resolve radeon linking issues
    
     - link against libdrm_radeon
     - link the r600 driver against libstlport
     - linkin the newly added libmesa_pipe_radeon library
    required by r600 and radeonsi drivers
    
    v2: Include pipe_radeon after pipe_r600/radeonsi.
    
    Cc: "10.1 10.2" <mesa-stable at lists.freedesktop.org>
    [Emil Velikov] Split up and add commit message.
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5bbfa308c918ee40ec4deea91362688d325886f9
Author: Paulo Sergio Travaglia <pstglia at gmail.com>
Date:   Sun Jul 20 21:47:59 2014 +0100

    android: gallium/radeon: attempt to fix the android build
    
     - include the correct folders
     - add a new buildscript for the common radeon folder
    
    v2: Use the installed libdrm headers over the DRM_TOP ones.
    
    Cc: "10.1 10.2" <mesa-stable at lists.freedesktop.org>
    [Emil Velikov] Split up and add commit message.
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=825fa2873f2d5c35cea88c31e5baafc978baaec0
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Sun Jul 20 21:12:18 2014 +0100

    android: egl/main: fixup the nouveau build
    
    For a while the nouveau pipe driver has been a static library
    and it has been using STL for even longer.
    Correct add the link and cleanup the gallium_DRIVERS.
    
    Cc: "10.1 10.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b510c63383a421eabe0d6e7b0249dbab85cffde
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Sun Jul 20 21:18:34 2014 +0100

    android: gallium/nouveau: fix include folders, link against libstlport
    
    nouveau uses STL for a while now thus we need to include
    external/stlport/libstlport.mk in order to get the build
    at least partially working.
    
    v2: Use the installed libdrm headers over the DRM_TOP ones.
    
    Cc: "10.1 10.2" <mesa-stable at lists.freedesktop.org>
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b26017fad82af73b91da1e132256e8304bb60c4d
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Sun Jul 20 19:41:58 2014 +0100

    egl/main: Bring in the Makefile.sources
    
    Rather than having the sources list duplicated across all three
    build systems, define it once and use it whenever needed.
    
    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>




More information about the mesa-commit mailing list