commit | 7baf7ade2410bf32a9365bb1b9dcc8f2310ad232 | [log] [tgz] |
---|---|---|
author | Malay Keshav <malaykeshav@chromium.org> | Thu Jan 23 22:50:10 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jan 23 22:50:10 2020 |
tree | 1af72ca6ec6182b2ef0199694ef306827fc44c6b | |
parent | d01e09868c3e8987449afba2d31e285d0dbbe42d [diff] |
PaintOpBuffer: Adds serializer for Skottie This patch implements the serializer function for skottie draw ops. It utilizes the transfer cache to avoid moving the entire skottie byte data across IPC for every frame update. This functionality is not included in android since android will not be using it. To achieve this the following modifications were also made to the SkottieWrapper class: - A unique id is generated using fast hash for a given animation byte data. - Store the raw byte data in the object. - Modify the constructor to differentiate between serializable & non-serializable constructors. Test=Added unit tests for transfer cache and paint op buffer. Bug: 894635 Change-Id: I9fb7b5e7f761a84e6b6112d6e73e5681e9d86342 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2003809 Commit-Queue: Malay Keshav <malaykeshav@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Khushal <khushalsagar@chromium.org> Cr-Commit-Position: refs/heads/master@{#734676}
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 .