mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-13 08:22:16 -04:00
examples: add render-pass-ext exmaple
This commit is contained in:
parent
53630a0a60
commit
393f96274a
14 changed files with 705 additions and 0 deletions
26
examples/render-pass-ext/meson.build
Normal file
26
examples/render-pass-ext/meson.build
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
gles2_sources = []
|
||||
pixman_sources = []
|
||||
vulkan_sources = []
|
||||
|
||||
if features.get('gles2-renderer')
|
||||
subdir('gles2')
|
||||
endif
|
||||
|
||||
subdir('pixman')
|
||||
|
||||
# if features.get('vulkan-renderer')
|
||||
# subdir('vulkan')
|
||||
# endif
|
||||
|
||||
executable(
|
||||
'render-pass-ext',
|
||||
[
|
||||
'triangle_pass.c',
|
||||
'render-pass-ext.c',
|
||||
gles2_sources,
|
||||
pixman_sources,
|
||||
vulkan_sources,
|
||||
],
|
||||
dependencies: [wlroots, libdrm_header],
|
||||
build_by_default: get_option('examples'),
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue