render: extract gles2 build files to subdir
This will make it easier to toggle when we make our GLES2 renderer optional.
This commit is contained in:
parent
c73a8cde83
commit
87293d1b15
|
@ -0,0 +1,6 @@
|
||||||
|
wlr_files += files(
|
||||||
|
'pixel_format.c',
|
||||||
|
'renderer.c',
|
||||||
|
'shaders.c',
|
||||||
|
'texture.c',
|
||||||
|
)
|
|
@ -4,11 +4,9 @@ wlr_files += files(
|
||||||
'egl.c',
|
'egl.c',
|
||||||
'drm_format_set.c',
|
'drm_format_set.c',
|
||||||
'gbm_allocator.c',
|
'gbm_allocator.c',
|
||||||
'gles2/pixel_format.c',
|
|
||||||
'gles2/renderer.c',
|
|
||||||
'gles2/shaders.c',
|
|
||||||
'gles2/texture.c',
|
|
||||||
'swapchain.c',
|
'swapchain.c',
|
||||||
'wlr_renderer.c',
|
'wlr_renderer.c',
|
||||||
'wlr_texture.c',
|
'wlr_texture.c',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
subdir('gles2')
|
||||||
|
|
Loading…
Reference in New Issue