render/color: introduce wlr_color_transform

Co-authored-by: Manuel Stoeckl <code@mstoeckl.com>
This commit is contained in:
Simon Ser 2023-09-09 20:04:45 -04:00
parent ee0007c0f2
commit 895e3d18b9
11 changed files with 266 additions and 0 deletions

View file

@ -39,3 +39,10 @@ endif
subdir('pixman')
subdir('allocator')
lcms2 = dependency('lcms2', required: get_option('color-management'))
if lcms2.found()
wlr_deps += lcms2
wlr_files += files('color.c')
features += { 'color-management': true }
endif