Commit 5ea1533
committed
disable legacy PNG encoding in image serialization
Add SK_DISABLE_LEGACY_PNG_WRITEBUFFER preprocessor define to remove
PNG encoder dependency from SkWriteBuffer serialization code. This
allows Windows DLL builds to succeed without requiring PNG encoder
implementation, as DLLs must resolve all symbols at link time.
This matches Chromium's approach (see chromium/src@c97e564) and
aligns with Skia's Bazel build which already disables this by default.1 parent c1d02ba commit 5ea1533
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
0 commit comments