commit | a426173e419481a119259fa813ec6afc851081a0 | [log] [tgz] |
---|---|---|
author | K. Moon <kmoon@chromium.org> | Mon May 02 22:30:33 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon May 02 22:30:33 2022 |
tree | b4f85754b56301be1203f9c32968ed984c29d7ec | |
parent | a2d54670676ec57103935c7ab28df4977d0ec0a2 [diff] |
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}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.