PPdfium LUCI CQ[rust png] Use SkDynamicMemoryWStream::detachAsVector method.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[rust png] Introduce Skia-based image_diff_png_skia.cpp. After this CL, if pdf_use_skia GN arg is set, then image_diff_png.h will no longer use libpng-based implementation, but instead will use the new Skia-based implementation from image_diff_png_skia.cpp. For now the new Skia-based implementation uses libpng-based SkPngDecoder and SkPngEncoder. This CL is a step toward removing the image_diff_png => libpng dependency by switching to Skia's SkPngRustRecoder and SkPngRustEncoder in a future CL (see https://pdfium-review.googlesource.com/135630). Bug: 444045690 Change-Id: I559319bf8ced477f1674473367df22b1b3522d16 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/136570 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> | 9 个月前 | |
Use shared //third_party/libpng dependency Uses //third_party/libpng for the libpng dependency, instead of PDFium's private copy in //third_party/libpng16. Bug: chromium:1130821 Change-Id: I749843df3f94363e20c14755e8b711c74b57acd5 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/101311 Commit-Queue: K. Moon <kmoon@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> | 3 年前 | |
Clang-format //testing Change-Id: I27360f1264aefc45286e07242f30f1882aeca2ba Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/130753 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> | 1 年前 | |
Move third_party/base/span.h to core/fxcrt Fix some GN build rules to make the build work after moving. Bug: pdfium:2127 Change-Id: Ic8cf0860dc5df8a510ecb34de1ffd10514d86c26 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/116650 Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: Thomas Sepez <tsepez@google.com> Commit-Queue: Lei Zhang <thestig@chromium.org> | 2 年前 | |
[rust png] Use Rust-based PNG codec from PDFium tests. After this CL, if pdf_enable_rust_png GN arg is set, then PDFium tests will use Rust-based PNG codec (instead of libpng-based one) from pdfium/testing/helpers/write.cc and from testing/image_diff/image_diff_png.... Switching the production code underneath core/fxcodec/png/... is deferred to a future CL (see https://pdfium-review.googlesource.com/135730). CLs that demonstrate test coverage of PDFium CQ: - https://pdfium-review.googlesource.com/136111 - is an ad-hoc, non-landable CL, which replaces SkPngEncoder usage in write.ccwith NOTREACHED to discover which tests cover it. All tests pass in this CL (i.e. this path is not covered by CQ). - https://pdfium-review.googlesource.com/136392 is a similar CL for encoding/decoding path under testing/image_diff/... (there are a few failing tests) - https://pdfium-review.googlesource.com/136110 is a similar CL for decoding path under core/fxcodec/png/... (there are a few failing tests) Bug: 444045690 Change-Id: Ica54e6e82d5646267242fd0a6d6538389bd18deb Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/135630 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Łukasz Anforowicz <lukasza@google.com> | 9 个月前 | |
[rust png] Use SkDynamicMemoryWStream::detachAsVector method. Using SkDynamicMemoryWStream::detachAsVector allows deleting BufferWStream class. Bug: 450978228 Change-Id: Ib122ae07d48a1f83920cbad4adaa5cd267ad430c Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/137011 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> | 9 个月前 |