diff options
author | Jason Ekstrand <[email protected]> | 2017-06-22 18:45:24 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-05-09 11:16:33 -0700 |
commit | 09ced6542049986f7fe52af8087aec9fc23d9f16 (patch) | |
tree | d0d47197ead4d02b94f4f50b16d6995ad5a6ec91 /src/intel/Makefile.isl.am | |
parent | 8152c60e012605df2ac3a3522974e17c2362b770 (diff) |
intel/isl: Add format conversion code
This adds helpers to ISL to convert an isl_color_value to and from
binary data encoded with a given isl_format. The conversion is done
using ISL's built-in format introspection so it's fairly slow as format
conversions go but it should be fine for a single pixel value. In
particular, we can use this to convert clear colors.
As a side-effect, we now rely on the sRGB helpers in libmesautil so we
need to tweak the build system a bit. All prior uses of src/util in ISL
were header-only.
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel/Makefile.isl.am')
-rw-r--r-- | src/intel/Makefile.isl.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/Makefile.isl.am b/src/intel/Makefile.isl.am index 52a71cffd4b..f51294468cd 100644 --- a/src/intel/Makefile.isl.am +++ b/src/intel/Makefile.isl.am @@ -82,6 +82,7 @@ TESTS += $(check_PROGRAMS) isl_tests_isl_surf_get_image_offset_test_LDADD = \ dev/libintel_dev.la \ isl/libisl.la \ + $(top_builddir)/src/util/libmesautil.la \ -lm # ---------------------------------------------------------------------------- |