diff options
author | Greg V <[email protected]> | 2018-01-18 23:29:14 +0300 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-08-07 22:57:55 +0000 |
commit | c0376a123418df0050dc45d3e1e84f6b29a6a1f3 (patch) | |
tree | cf94494957e38609c5fbd464e53f10652dbf9909 /src/util/meson.build | |
parent | 519bebdb40d9df5926e8b16dedd36b8e0f356f60 (diff) |
util: add anon_file.h for all memfd/temp file usage
Move the Weston os_create_anonymous_file code from egl/wayland into util,
add support for Linux memfd and FreeBSD SHM_ANON,
use that code in anv/aubinator instead of explicit memfd calls for portability.
Acked-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/util/meson.build')
-rw-r--r-- | src/util/meson.build | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/meson.build b/src/util/meson.build index 95aff3b442f..cf1616e7bc6 100644 --- a/src/util/meson.build +++ b/src/util/meson.build @@ -23,6 +23,8 @@ inc_util = include_directories('.') subdir('xmlpool') files_mesa_util = files( + 'anon_file.h', + 'anon_file.c', 'bigmath.h', 'bitscan.c', 'bitscan.h', |