summaryrefslogtreecommitdiff
path: root/lib/mesa
AgeCommit message (Collapse)Author
2015-11-22import Mesa 11.0.6Jonathan Gray
2015-11-22import Mesa 11.0.6Jonathan Gray
2020-08-01Fix Mesa build with clang 10 on mips64.Visa Hankala
On mips64, the compiler does not allow use of non-zero argument with __builtin_frame_address(). However, the returned frame address is only used when PIPE_ARCH_X86 is defined. The compile error can be avoided by making #ifdef PIPE_ARCH_X86 cover the getting of frame address too. The argument checking of __builtin_frame_address() has been present as a debug assert in clang 8. In clang 10, there is a proper runtime check for the argument. This is why the build has not failed before. OK jsg@
2020-06-18llvmpipe: use LLVM version string instead of re-computing itJonathan Gray
From Eric Engestrom 7f5ef97a07d4054efb96f0d644344644023af82c in Mesa git fixes llvmpipe renderer string showing "LLVM 16.0" with LLVM 10
2020-06-16ac: fix build with recent LLVMJonathan Gray
from Samuel Pitoiset ee9811a0bb86d3d75fafeece368f6182048807d0 in mainline Mesa
2020-04-03Remove #ifdef that doesn't make sense anymore; extend clang workaround toMark Kettenis
conver __sync_val_compare_and_swap. ok jsg@
2020-04-03Make this build on clang architectures that don't have 64-bit atomicMark Kettenis
instructions. Clang doesn't allow redeclaration (and therefore redefinition) of the __sync_* builtins. Use #pragma redefine_extname to work around that restriction. Clang also turns __sync_add_and_fetch into __sync_fetch_and_add (and __sync_sub_and_fetch into __sync_fetch_and_sub) in certain cases, so provide these functions as well. ok jsg@
2020-04-03test for 32 bit atomic builtins was incorrectly testing for 64 bit atomicsJonathan Gray
noticed when going over a macppc clang build error reported by deraadt@
2020-02-21add mips64, mips64el and powerpc to the list of archs with -O0 in CFLAGSJonathan Gray
builds were running out of memory requested by deraadt@
2020-02-20regenJonathan Gray
2020-02-20use futexes in Mesa on archs with atomicsJonathan Gray
tested by matthieu@ naddy@ and myself
2020-02-05Add sanity checks to futex_wait()Matthieu Herrb
- handle the NULL timeout pointer case - avoid negative cases. Suggested by cheloha@ ok cheloha@, jsg@
2020-02-04Fix absolute to relative timeout computation. ok jsg@, mpi@Matthieu Herrb
2020-01-30Zap stray #warning introduced in last commitJeremie Courreges-Anglas
Grrr, sorry about that.
2020-01-30Better checks for static_assert availabilityJeremie Courreges-Anglas
When not in c++ or c11 mode: - check for _Static_assert support in clang with __has_extension - gcc implements _Static_assert starting with 4.6.0 - as a fallback, use a forward decl instead of ((void)0) so that static_assert can be used at file scope (scope issue pointed out by guenther@) ok jsg@
2020-01-28Avoid _Static_assert in Mesa/libEGL on non-clang archsJeremie Courreges-Anglas
Temporary workaround while we find a better solution. Linking errors in ports reported by cwen@, "Please commit" jsg@
2020-01-22fix some things which got broken in mergeJonathan Gray
2020-01-22add files generated by python scripts which stopped being shipped withJonathan Gray
distfiles when upstream removed autotools
2020-01-22add back autotools files removed upstreamJonathan Gray
2020-01-22Merge Mesa 19.2.8Jonathan Gray
2020-01-22Import Mesa 19.2.8Jonathan Gray
2019-12-07regenJonathan Gray
2019-12-07build Mesa with _ISOC11_SOURCE for c11 visibilityJonathan Gray
autoconf function tests run without --std and have c11 visibility timespec_get(3), a c11 function is found this way. With gcc < 4.6 Mesa will build with --std=gnu99 with clang it will build with --std=c99 and timespec_get() will no longer be visibile. Further complicating things gcc 4.2 does not recognise --std=c11. This was not noticed on linux as they build with _GNU_SOURCE which among other things gives c11 visibility even with --std=c99. discussed with millert@
2019-12-04Constrain honouring of path-related environment variables based uponTheo de Raadt
issetugid(), not just the sloppy uid != euid test. gid != egid cases can occur also. Part of 6.6/009_mesaxlock.patch.sig and 6.5/020_mesaxlock.patch.sig From Qualys, ok
2019-01-29Import Mesa 18.3.2Jonathan Gray
2019-01-29Import Mesa 18.3.2Jonathan Gray
2019-01-29Import Mesa 18.3.2Jonathan Gray
2019-01-29Import Mesa 18.3.2Jonathan Gray
2019-01-29Import Mesa 18.3.2Jonathan Gray
2018-10-23Import Mesa 17.3.9Jonathan Gray
2018-10-23Import Mesa 17.3.9Jonathan Gray
2018-10-23Import Mesa 17.3.9Jonathan Gray
2016-12-11Import Mesa 13.0.2Jonathan Gray
2016-05-29Import Mesa 11.2.2Jonathan Gray
2016-05-29Import Mesa 11.2.2Jonathan Gray
2015-11-22import Mesa 11.0.6Jonathan Gray
2019-11-20Call shmget() with permission 0600 instead of 0777Jonathan Gray
From Brian Paul 02c3dad0f3b4d26e0faa5cc51d06bc50d693dcdc in mainline Mesa "A security advisory (TALOS-2019-0857/CVE-2019-5068) found that creating shared memory regions with permission mode 0777 could allow any user to access that memory. Several Mesa drivers use shared- memory XImages to implement back buffers for improved performance. This path changes the shmget() calls to use 0600 (user r/w). Tested with legacy Xlib driver and llvmpipe."
2019-08-28enable radeonsi and llvm on arm64Jonathan Gray
ok kettenis@ patrick@
2019-08-24intel: Add support for Comet LakeJonathan Gray
From Anuj Phogat 82f6a746e8b47fb6e3f96d7f5f69973f50eec9ca in mesa master
2019-01-29Import Mesa 18.3.2Jonathan Gray
2015-11-22import Mesa 11.0.6Jonathan Gray
2015-11-22import Mesa 11.0.6Jonathan Gray
2019-07-01Merge Mesa 19.0.8Jonathan Gray
2019-07-01Import Mesa 19.0.8Jonathan Gray
2019-07-01Import Mesa 19.0.8Jonathan Gray
2019-07-01Import Mesa 19.0.8Jonathan Gray
2019-07-01Import Mesa 19.0.8Jonathan Gray
2019-07-01Import Mesa 19.0.8Jonathan Gray
2019-07-01Import Mesa 19.0.8Jonathan Gray
2019-07-01Import Mesa 19.0.8Jonathan Gray