aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/hash_table.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-06-22 18:45:24 -0700
committerJason Ekstrand <[email protected]>2018-05-09 11:16:33 -0700
commit09ced6542049986f7fe52af8087aec9fc23d9f16 (patch)
treed0d47197ead4d02b94f4f50b16d6995ad5a6ec91 /src/util/hash_table.c
parent8152c60e012605df2ac3a3522974e17c2362b770 (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/util/hash_table.c')
0 files changed, 0 insertions, 0 deletions