mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 00:24:40 +00:00
Final Cleanup
-Removed LPNG -Removed LJPEG -Re-Added DefferredPNGWriter from rextimmy stb work Commented out lines about file saving and reading in gfont, these are good for debugging font saves.
This commit is contained in:
parent
68a7dadd2b
commit
d87199f5da
635 changed files with 134 additions and 227025 deletions
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec ./pngimage --exhaustive --list-combos --log "${srcdir}/contrib/pngsuite/"*.png
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec ./pngimage --list-combos --log "${srcdir}/contrib/pngsuite/"*.png
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Usage:
|
||||
#
|
||||
# tests/pngstest gamma alpha
|
||||
#
|
||||
# Run ./pngstest on the PNG files in $srcdir/contrib/testpngs which have the
|
||||
# given gamma and opacity:
|
||||
#
|
||||
# gamma: one of; linear, 1.8, sRGB, none.
|
||||
# alpha: one of; opaque, tRNS, alpha, none. 'none' is equivalent to !alpha
|
||||
#
|
||||
# NOTE: the temporary files pngstest generates have the base name gamma-alpha to
|
||||
# avoid issues with make -j
|
||||
#
|
||||
gamma="$1"
|
||||
shift
|
||||
alpha="$1"
|
||||
shift
|
||||
args=
|
||||
LC_ALL="C" # fix glob sort order to ASCII:
|
||||
for f in "${srcdir}/contrib/testpngs/"*.png
|
||||
do
|
||||
g=
|
||||
case "$f" in
|
||||
*-linear[.-]*)
|
||||
test "$gamma" = "linear" && g="$f";;
|
||||
|
||||
*-sRGB[.-]*)
|
||||
test "$gamma" = "sRGB" && g="$f";;
|
||||
|
||||
*-1.8[.-]*)
|
||||
test "$gamma" = "1.8" && g="$f";;
|
||||
|
||||
*)
|
||||
test "$gamma" = "none" && g="$f";;
|
||||
esac
|
||||
|
||||
case "$g" in
|
||||
"")
|
||||
:;;
|
||||
|
||||
*-alpha[-.]*)
|
||||
test "$alpha" = "alpha" && args="$args $g";;
|
||||
|
||||
*-tRNS[-.]*)
|
||||
test "$alpha" = "tRNS" -o "$alpha" = "none" && args="$args $g";;
|
||||
|
||||
*)
|
||||
test "$alpha" = "opaque" -o "$alpha" = "none" && args="$args $g";;
|
||||
esac
|
||||
done
|
||||
# This only works if the arguments don't contain spaces; they don't.
|
||||
exec ./pngstest --tmpfile "${gamma}-${alpha}-" --log ${1+"$@"} $args
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec "${srcdir}/tests/pngstest" 1.8 none
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec "${srcdir}/tests/pngstest" 1.8 alpha
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec "${srcdir}/tests/pngstest" linear none
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec "${srcdir}/tests/pngstest" linear alpha
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec "${srcdir}/tests/pngstest" none none
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec "${srcdir}/tests/pngstest" none alpha
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec "${srcdir}/tests/pngstest" sRGB none
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec "${srcdir}/tests/pngstest" sRGB alpha
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec ./pngtest --strict ${srcdir}/pngtest.png
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# various crashers
|
||||
# using --relaxed because some come from fuzzers that don't maintain CRC's
|
||||
|
||||
./pngtest --relaxed ${srcdir}/contrib/testpngs/crashers/badcrc.png
|
||||
./pngtest --relaxed ${srcdir}/contrib/testpngs/crashers/badadler.png
|
||||
./pngtest --xfail ${srcdir}/contrib/testpngs/crashers/bad_iCCP.png
|
||||
./pngtest --xfail ${srcdir}/contrib/testpngs/crashers/empty_ancillary_chunks.png
|
||||
./pngtest --xfail ${srcdir}/contrib/testpngs/crashers/huge_*_chunk.png \
|
||||
${srcdir}/contrib/testpngs/crashers/huge_*safe_to_copy.png
|
||||
|
||||
exec ./pngtest --xfail ${srcdir}/contrib/testpngs/crashers/huge_IDAT.png
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec ./pngunknown --strict default=discard IDAT=save "${srcdir}/pngtest.png"
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec ./pngunknown --strict default=discard "${srcdir}/pngtest.png"
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec ./pngunknown --strict default=if-safe "${srcdir}/pngtest.png"
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec ./pngunknown --strict bKGD=save cHRM=save gAMA=save all=discard iCCP=save sBIT=save sRGB=save eXIf=save "${srcdir}/pngtest.png"
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec ./pngunknown --strict sTER=if-safe "${srcdir}/pngtest.png"
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec ./pngunknown --strict default=save "${srcdir}/pngtest.png"
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec ./pngunknown --strict vpAg=if-safe "${srcdir}/pngtest.png"
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec ./pngvalid --strict --gamma-16-to-8
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec ./pngvalid --strict --gamma-alpha-mode
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec ./pngvalid --strict --gamma-background
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec ./pngvalid --strict --gamma-alpha-mode --expand16
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec ./pngvalid --strict --gamma-background --expand16
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec ./pngvalid --strict --gamma-transform --expand16
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec ./pngvalid --strict --gamma-sbit
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec ./pngvalid --strict --gamma-threshold
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec ./pngvalid --strict --gamma-transform
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec ./pngvalid --strict --standard --progressive-read --interlace
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec ./pngvalid --strict --size --progressive-read
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec ./pngvalid --strict --standard --progressive-read
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec ./pngvalid --strict --standard
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec ./pngvalid --strict --transform
|
||||
Loading…
Add table
Add a link
Reference in a new issue