mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 08:47:28 +01:00
base: add ETC__DST_PIXEL_FORMAT__ENABLE_ALLOWLIST
Binary size, before: 412128 gen/bin/example-convert-to-nia 50680 gen/bin/example-gifplayer 449680 gen/bin/example-imageviewer 439000 gen/bin/example-sdl-imageviewer 151848 gen/bin/example-toy-aux-image After: 302232 gen/bin/example-convert-to-nia 46144 gen/bin/example-gifplayer 352112 gen/bin/example-imageviewer 329168 gen/bin/example-sdl-imageviewer 138656 gen/bin/example-toy-aux-image For further data points, if you hard-code define'ing WUFFS_CONFIG__DST_PIXEL_FORMAT__ENABLE_ALLOWLIST and WUFFS_CONFIG__DST_PIXEL_FORMAT__ALLOW_BGRA_PREMUL: Binary size, before: 121368 gen/lib/c/clang-dynamic/wuffs-base-pixconv.lo 121368 gen/lib/c/clang-static/wuffs-base-pixconv.o 181088 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo 181136 gen/lib/c/gcc-static/wuffs-base-pixconv.o After: 54784 gen/lib/c/clang-dynamic/wuffs-base-pixconv.lo 54784 gen/lib/c/clang-static/wuffs-base-pixconv.o 72144 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo 72272 gen/lib/c/gcc-static/wuffs-base-pixconv.o
This commit is contained in:
1 parent
b2c7c69227
commit
f5bb519320
10 files changed
+255
No files matched your search
@@ -262,6 +262,7 @@ var Statuses = [...]string{
|
||||
`"#bad workbuf length"`,
|
||||
`"#bad wuffs version"`,
|
||||
`"#cannot return a suspension"`,
|
||||
`"#disabled by WUFFS_CONFIG__DST_PIXEL_FORMAT__ENABLE_ALLOWLIST"`,
|
||||
`"#disabled by previous error"`,
|
||||
`"#initialize falsely claimed already zeroed"`,
|
||||
`"#initialize not called"`,
|
||||
|
||||
Reference in new issue
Block a user