mirror of
https://pdfium.googlesource.com/pdfium
synced 2026-07-29 17:56:35 +08:00
Honor the pdf_enable_rust_bmp GN build argument to allow building PDFium with Skia's Rust-based BMP decoder instead of the legacy C++ BMP decoder. Add SkiaBmpDecoder and BmpDecoderDelegate to adapt the Rust BMP decoder for ProgressiveDecoder. -- Adjust minimum input size calculation for 24/32 bit skia results in ProgressiveDecoder. TAG=agy CONV=19661998-5d2f-4919-b147-d44fa811807c Bug: 537855738 Change-Id: If87228e8e2b3b1224d631044a7931c2cdc79fd4d Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/152570 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>