0
Files
src/pdf
K. Moon a426173e41 Share SkImage across PDF paint rectangles
Shares a single SkImage across all paint rectangles requested in a call
to chrome_pdf::PdfViewPluginBase::DoPaint(). The existing implementation
creates a new SkImage for each requested paint rectangle, potentially
triggering many copies of the backing SkBitmap.

Fixed: 1284255
Change-Id: Ife0afa25011a1444e9421041f2879bd6aaebeadc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3621980
Reviewed-by: Daniel Hosseinian <dhoss@chromium.org>
Commit-Queue: K. Moon <kmoon@chromium.org>
Cr-Commit-Position: refs/heads/main@{#998606}
2022-05-02 22:30:33 +00:00
..
2022-03-04 20:50:20 +00:00
2022-03-28 23:02:17 +00:00
2022-04-29 20:41:30 +00:00

//pdf contains the PDF plugin, its Blink-based replacement, as well as PDF utility functions that leverage PDFium. It can use low-level components that live below the content layer, as well as other foundational code like //printing. It should not use //content or anything in //components that lives above the content layer. Code that lives above the content layer should live in //components/pdf, or in the embedder. All the code here should run in sandboxed child processes.

TODO(crbug.com/1220865): Remove existing //content dependencies.