mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-23 06:59:44 -05:00
Add wlr_compositor buffer API
This also rolls wlr_buffer into wlr_renderer as a user of this new API.
This commit is contained in:
parent
21db2418b7
commit
8630988eae
10 changed files with 518 additions and 370 deletions
34
meson.build
34
meson.build
|
|
@ -169,7 +169,7 @@ summary = [
|
|||
message('\n'.join(summary))
|
||||
|
||||
executable('test-server', 'test-server.c',
|
||||
dependencies: wlroots)
|
||||
dependencies: [wlroots, gbm])
|
||||
executable('test-client', 'test-client.c',
|
||||
dependencies: wayland_client)
|
||||
|
||||
|
|
@ -185,35 +185,3 @@ pkgconfig.generate(
|
|||
description: 'Wayland compositor library',
|
||||
)
|
||||
|
||||
git = find_program('git', required: false)
|
||||
if git.found()
|
||||
all_files = run_command(
|
||||
git,
|
||||
'--git-dir=@0@/.git'.format(meson.current_source_dir()),
|
||||
'ls-files',
|
||||
':/*.[ch]',
|
||||
)
|
||||
all_files = files(all_files.stdout().split())
|
||||
|
||||
etags = find_program('etags', required: false)
|
||||
if etags.found() and all_files.length() > 0
|
||||
custom_target(
|
||||
'etags',
|
||||
build_by_default: true,
|
||||
input: all_files,
|
||||
output: 'TAGS',
|
||||
command: [etags, '-o', '@OUTPUT@', '@INPUT@'],
|
||||
)
|
||||
endif
|
||||
|
||||
ctags = find_program('ctags', required: false)
|
||||
if ctags.found() and all_files.length() > 0
|
||||
custom_target(
|
||||
'ctags',
|
||||
build_by_default: true,
|
||||
input: all_files,
|
||||
output: 'tags',
|
||||
command: [ctags, '-f', '@OUTPUT@', '@INPUT@'],
|
||||
)
|
||||
endif
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue