1. 31 Oct, 2018 1 commit
  2. 24 Aug, 2018 1 commit
  3. 23 Aug, 2018 1 commit
  4. 20 Jan, 2018 1 commit
  5. 07 Sep, 2017 1 commit
  6. 06 Sep, 2017 1 commit
  7. 27 Jun, 2017 1 commit
    • chadversary's avatar
      mesa: Add _mesa_format_fallback_rgbx_to_rgba() [v2] · a1983223
      chadversary authored
      The new function takes a mesa_format and, if the format is an alpha
      format with a non-alpha variant, returns the non-alpha format.
      Otherwise, it returns the original format.
      
      Example:
        input -> output
      
        // Fallback exists
        MESA_FORMAT_R8G8B8X8_UNORM -> MESA_FORMAT_R8G8B8A8_UNORM
        MESA_FORMAT_RGBX_UNORM16 -> MESA_FORMAT_RGBA_UNORM16
      
        // No fallback
        MESA_FORMAT_R8G8B8A8_UNORM -> MESA_FORMAT_R8G8B8A8_UNORM
        MESA_FORMAT_Z_FLOAT32 -> MESA_FORMAT_Z_FLOAT32
      
      i965 will use this for EGLImages and DRIimages.
      
      v2 (Jason Ekstrand):
       - Use mako
       - Rework to be easier to read
       - Write directly to the output file
      Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
      a1983223
  8. 19 Apr, 2017 1 commit
  9. 06 Oct, 2016 1 commit
  10. 07 Jul, 2016 1 commit
  11. 30 May, 2016 1 commit
    • Emil Velikov's avatar
      automake: move the git_sha1.h rule a level up · 4cd9cd6a
      Emil Velikov authored
      This way we can reuse the header from other places like -
      src/intel/vulkan and src/gallium. Only the former is hooked up atm.
      
      Make sure .gitignore is updated, as well as all the users (the mesa
      code does not need any changes).
      
      Also ensure that the file is always created by adding it to the
      BUILT_SOURCES target.
      
      Cc: Jason Ekstrand <jason.ekstrand@intel.com>
      Cc: Kristian Høgsberg Kristensen <krh@bitplanet.net>
      Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
      4cd9cd6a
  12. 01 May, 2016 1 commit
    • Chuck Atkins's avatar
      glx: Refactor the configure options for glx implementation choice (v3) · a92910ae
      Chuck Atkins authored
      Instead of cascading support for various different implementations of
      GLX, all three options are now specified through the --enable-glx
      option:
      
        --enable-glx=dri          : Enable the DRI-based GLX
        --enable-glx=xlib         : Enable the classic Xlib-based GLX
        --enable-glx=gallium-xlib : Enable the gallium Xlib-based GLX
        --enable-glx[=yes]        : Defaults to dri if DRI is enabled, else
                                    gallium-xlib if gallium is enabled, else
                                    xlib
      
      This removes the --enable-xlib-glx option and fixes a bug in which both
      the classic xlib-glx and gallium xlib-glx implementations were getting
      built causing different versioned and conflicting libGL libraries to be
      installed.
      
      v2: Changes from various review feedback from Emil:
        a) Fixed typos
        b) Corrected help docs for new option
        c) Added appropriate a-b and r-b tags in commit msg
        d) Fixed various GLX related dependency checks.
      v3: Rebased to current master and added changelog in commit msg
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94086Acked-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
      Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
      a92910ae
  13. 11 Apr, 2016 1 commit
  14. 26 Jan, 2016 1 commit
  15. 09 Sep, 2015 1 commit
  16. 10 Jul, 2015 2 commits
    • Chad Versace's avatar
      mesa: Fix generation of git_sha1.h.tmp for gitlinks · 9e64a2a8
      Chad Versace authored
      Don't assume that $(top_srcdir)/.git is a directory. It may be a
      gitlink file [1] if $(top_srcdir) is a submodule checkout or a linked
      worktree [2].
      
      [1] A "gitlink" is a text file that specifies the real location of
          the gitdir.
      [2] Linked worktrees are a new feature in Git 2.5.
      
      Cc: "10.6, 10.5" <mesa-stable@lists.freedesktop.org>
      Reviewed-by: Iago Toral's avatarIago Toral Quiroga <itoral@igalia.com>
      (cherry picked from commit 75784243)
      9e64a2a8
    • Chad Versace's avatar
      mesa: Fix generation of git_sha1.h.tmp for gitlinks · 75784243
      Chad Versace authored
      Don't assume that $(top_srcdir)/.git is a directory. It may be a
      gitlink file [1] if $(top_srcdir) is a submodule checkout or a linked
      worktree [2].
      
      [1] A "gitlink" is a text file that specifies the real location of
          the gitdir.
      [2] Linked worktrees are a new feature in Git 2.5.
      
      Cc: "10.6, 10.5" <mesa-stable@lists.freedesktop.org>
      Reviewed-by: Iago Toral's avatarIago Toral Quiroga <itoral@igalia.com>
      75784243
  17. 26 Jun, 2015 1 commit
  18. 19 May, 2015 1 commit
    • Alexander von Gluck IV's avatar
      mesa/driver/haiku: Drop Mesa swrast renderer · 7af2601a
      Alexander von Gluck IV authored
      This just created extra upkeep and the push to move extern
      C's into mesa code would mean a large number of extern's
      in core Mesa driver interfaces. The Haiku Gallium renderers
      are mostly insulated via the C-based Haiku state tracker.
      
      As any future hardware support in Haiku will be gallium
      based, lets just drop swrast.
      
      Haiku has a Mesa 7.12 fork for gcc2 that uses swrast.
      
      This commit fixes the last of the Haiku build issues.
      Reviewed-by: Emil Velikov's avatarEmil Velikov <emil.l.velikov@gmail.com>
      7af2601a
  19. 28 Mar, 2015 1 commit
    • Kenneth Graunke's avatar
      nir: Implement a Mesa IR -> NIR translator. · faf6106c
      Kenneth Graunke authored
      Shamelessly ripped off from Eric Anholt's tgsi_to_nir pass.
      
      This is not built on SCons, like the rest of NIR.
      
      v2:
      - Delete redundant c->s, c->impl, and c->cf_node_list pointers (Ken)
      - Use nir_builder directly instead of ptn_compile in more places (Ken)
      - Drop 'struct' keyword in front of nir_builder (ken)
      - Add a file level Doxygen comment (Ken)
      - Use scalar constants instead of splatting (Eric)
      - Use nir_builder helpers for constants, moves, and swizzles (Connor)
      
      v3: Minor indentation improvements.
      Signed-off-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
      Reviewed-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
      faf6106c
  20. 05 Mar, 2015 2 commits
  21. 04 Mar, 2015 1 commit
    • Jose Fonseca's avatar
      windows/gdi: Remove. · 17b2825d
      Jose Fonseca authored
      This classic driver is so far behind Gallium softpipe/llvmpipe based
      one, that's hard to imagine ever being useful.
      
      v2: Drop drivers/windows from src/mesa/Makefile.am:EXTRA_DIST per Emil
      Velikov.
      Reviewed-by: Emil Velikov's avatarEmil Velikov <emil.l.velikov@gmail.com>
      
      v3: Update release notes.
      17b2825d
  22. 03 Mar, 2015 1 commit
    • Jose Fonseca's avatar
      configure: Leverage gcc warn options to enable safe use of C99 features where possible. · 80c5bd7e
      Jose Fonseca authored
      The main objective of this change is to enable Linux developers to use
      more of C99 throughout Mesa, with confidence that the portions that need
      to be built with MSVC -- and only those portions --, stay portable.
      
      This is achieved by using the appropriate -Werror= options only on the
      places they need to be used.
      
      Unfortunately we still need MSVC 2008 on a few portions of the code
      (namely llvmpipe and its dependencies).  I hope to eventually eliminate
      this so that we can use C99 everywhere, but there are technical/logistic
      challenges (specifically, newer Windows SDKs no longer bundle MSVC,
      instead require a full installation of Visual Studio, and that has
      hindered adoption of newer MSVC versions on our build processes.)
      Thankfully we have more directy control over our OpenGL driver, which is
      why we're now able to migrate to MSVC 2013 for most of the tree.
      Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
      Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
      80c5bd7e
  23. 28 Feb, 2015 1 commit
  24. 27 Feb, 2015 1 commit
    • Jose Fonseca's avatar
      configure: Leverage gcc warn options to enable safe use of C99 features where possible. · 79daa510
      Jose Fonseca authored
      The main objective of this change is to enable Linux developers to use
      more of C99 throughout Mesa, with confidence that the portions that need
      to be built with MSVC -- and only those portions --, stay portable.
      
      This is achieved by using the appropriate -Werror= options only on the
      places they need to be used.
      
      Unfortunately we still need MSVC 2008 on a few portions of the code
      (namely llvmpipe and its dependencies).  I hope to eventually eliminate
      this so that we can use C99 everywhere, but there are technical/logistic
      challenges (specifically, newer Windows SDKs no longer bundle MSVC,
      instead require a full installation of Visual Studio, and that has
      hindered adoption of newer MSVC versions on our build processes.)
      Thankfully we have more directy control over our OpenGL driver, which is
      why we're now able to migrate to MSVC 2013 for most of the tree.
      Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
      Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
      79daa510
  25. 23 Jan, 2015 3 commits
  26. 12 Jan, 2015 2 commits
    • Jason Ekstrand's avatar
      mesa: Autogenerate format_unpack.c · e1fdcdda
      Jason Ekstrand authored
      Signed-off-by: Jason Ekstrand's avatarJason Ekstrand <jason.ekstrand@intel.com>
      
      v2 by Samuel Iglesias <siglesias@igalia.com>:
      - Add usage of INDENT_FLAGS in Makefile.am
      
      v3 by Samuel Iglesias <siglesias@igalia.com>:
      - Modify unpack_float_*() and unpack_ubyte_*() function generation
      to use c.datatype() and f.datatype()
      - Fix out-of-tree build
      
      v4 by Samuel Iglesias <siglesias@igalia.com>:
      - format_unpack.c.mako is now format_unpack.py, with the template code
        inlined. It now auto-generates format_unpack.c
      - Add format_unpack.c to gitignore.
      - Simplify Makefile.am change
      - Modify SConscript to build format_unpack.c with scons
      
      v5 by Samuel Iglesias <siglesias@igalia.com>:
      - Don't allow float to non-normalized integer format conversions.
      Signed-off-by: Samuel Iglesias Gonsálvez's avatarSamuel Iglesias Gonsalvez <siglesias@igalia.com>
      Reviewed-by: Jason Ekstrand's avatarJason Ekstrand <jason.ekstrand@intel.com>
      e1fdcdda
    • Jason Ekstrand's avatar
      mesa: Autogenerate most of format_pack.c · e0439f75
      Jason Ekstrand authored
      We were auto-generating it before.  The problem was that the autogeneration
      tool we were using was called "copy, paste, and edit".  Let's use a more
      sensible solution.
      Signed-off-by: Jason Ekstrand's avatarJason Ekstrand <jason.ekstrand@intel.com>
      
      v2 by Samuel Iglesias <siglesias@igalia.com>
      - Remove format_pack.c as it is now autogenerated
      - Add usage of INDENT_FLAGS in Makefile.am
      - Remove trailing blank line
      
      v3 by Samuel Iglesias <siglesias@igalia.com>
      - Merge format_convert.py into format_parser.py
         - Adapt pack_*_* function generations
      - Fix out-of-tree build
      
      v4 by Samuel Iglesias <siglesias@igalia.com>
      - _get_datatype() is now a helper function
      
      v5 by Samuel Iglesias <siglesias@igalia.com>
      - format_pack.c.mako is now format_pack.py, with the template code
        inlined. It now auto-generates format_pack.c
      - Simplify Makefile.am change.
      - Modify SConscript to build format_pack.c with scons.
      - Remove run_mako.py
      - Add format_pack.c to gitignore
      
      v6 by Samuel Iglesias <siglesias@igalia.com>:
      - Don't allow float to non-normalized integer format conversions.
      - Add non-normalized formats support for ubyte packing functions. Merge
      the previously separated patch.
      - Add clamping for non-normalized integer formats in pack_ubyte*()
      
      v7 by Samuel Iglesias <siglesias@igalia.com>:
      - Add assert to check that sRGB formats are 8-bit size.
      Signed-off-by: Samuel Iglesias Gonsálvez's avatarSamuel Iglesias Gonsalvez <siglesias@igalia.com>
      Reviewed-by: Jason Ekstrand's avatarJason Ekstrand <jason.ekstrand@intel.com>
      e0439f75
  27. 12 Dec, 2014 8 commits
  28. 09 Dec, 2014 1 commit