summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2019-07-03 11:10:32 -0700
committerMarge Bot <eric+marge@anholt.net>2020-12-10 18:38:13 +0000
commitee802372180a2b4460cc7abb53438e45c6b6f1e4 (patch)
treeb988552f11b0119335f03701b79e330e3d54c44b /include
parent6ffc5611c8a9ba61387f571449d2290aed2266dc (diff)
mesa: Retire classic OSMesa.
The classic OSMesa renders directly into user memory using src/mesa/swrast, while gallium OSMesa renders using softpipe or llvmpipe and copies out at glFlush() time. This would make gallium look like a worse choice for OSMesa, except that swrast is: 1) Painfully slow to render compared to llvmpipe 2) Incorrect at derivatives 3) Limited to GL 2.1 instead of GL 4.6 In my survey of OSMesa users, debian was the remaining holdout with classic OSMesa in use on hurd and some rare non-LLVM-supported architectures (sh4, alpha, etc.). As of today, they've switched to softpipe-based gallium OSMesa for them. To prevent people from running the wrong OSMesa (to the extent that running OSMesa can ever be the right thing), delete the classic version. Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> Closes: #320 Closes: #877 Closes: #2297 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1243>
Diffstat (limited to 'include')
-rw-r--r--include/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/meson.build b/include/meson.build
index 981ab97913f..4ee415fb4f3 100644
--- a/include/meson.build
+++ b/include/meson.build
@@ -96,7 +96,7 @@ if with_egl
)
endif
-if with_osmesa != 'none'
+if with_osmesa
install_headers('GL/osmesa.h', subdir : 'GL')
endif