commit | b253c36b668b630578a389267e4579659083881d | [log] [tgz] |
---|---|---|
author | Yusuf Ozuysal <yusufo@google.com> | Wed Feb 13 19:01:34 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Feb 13 19:01:34 2019 |
tree | d7dd1d7ee58e296997f6843b55e320f95c85e39e | |
parent | 7f36bf3e3952015c917fe47b98ba57bf35014471 [diff] |
Use a BitmapCache for showing TabGrid screenshots - Adds a BitmapCache to TabContentManager at size 3.2 MB - Caches all decompressed thumbnails with url and uses that as key to show them inside the tab grid. - Resizes all thumbnails to half the size and square aspect ratio to save on memory. - Not there yet: Still passes the Bitmaps over the JNI boundary. To be addressed at a later patch. BUG=930929 Change-Id: I17146258a367c4534170e0d9a2621839728b09e9 Reviewed-on: https://chromium-review.googlesource.com/c/1464969 Commit-Queue: Yusuf Ozuysal <yusufo@chromium.org> Reviewed-by: Matthew Jones <mdjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#631824}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .