gallium: Move sRGB <-> RGB handling to libmesautil

Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
Jason Ekstrand
2014-07-24 11:17:53 -07:00
parent efa0aa8ffc
commit 992e1ea8e4
20 changed files with 75 additions and 73 deletions
+11 -1
View File
@@ -11,10 +11,20 @@ env.Prepend(CPPPATH = [
'#src/util',
])
env.CodeGenerate(
target = 'format_srgb.c',
script = 'format_srgb.py',
source = [],
command = python_cmd + ' $SCRIPT > $TARGET'
)
# parse Makefile.sources
source_lists = env.ParseSourceList('Makefile.sources')
mesautil_sources = source_lists['MESA_UTIL_FILES']
mesautil_sources = (
source_lists['MESA_UTIL_FILES'] +
source_lists['MESA_UTIL_GENERATED_FILES']
)
mesautil = env.ConvenienceLibrary(
target = 'mesautil',