summaryrefslogtreecommitdiff
path: root/fxjs/xfa/cjx_margin.cpp
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2018-08-17 18:38:19 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-17 18:38:19 +0000
commit0a2328e0eff7a11aa49b7da8f013e658153a7b1a (patch)
tree83f87275e98eaa7ca86d22ab458c03212a7f7dc8 /fxjs/xfa/cjx_margin.cpp
parent1f867bb6e2c7b42e529c907053e0b9aecdd219ac (diff)
downloadpdfium-0a2328e0eff7a11aa49b7da8f013e658153a7b1a.tar.xz
Optimize rendering of 2D barcodes: create Rect only on black regions.
This is a ~2x improvement in rendering time, taking my example down from ~390ms per barcode to ~190ms. Bug: 872907 Change-Id: Iecddc30edf92ad943765d4382b332e00d493c320 Reviewed-on: https://pdfium-review.googlesource.com/40533 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'fxjs/xfa/cjx_margin.cpp')
0 files changed, 0 insertions, 0 deletions