commit | cd7c518a6252f8cc4797337c0757e0daf274775c | [log] [tgz] |
---|---|---|
author | Xida Chen <xidachen@chromium.org> | Wed Dec 05 19:40:32 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Dec 05 19:40:32 2018 |
tree | 725aeddaf6974c4e20f1fc3b5cab082e19fef6f1 | |
parent | 193cdaa184451987cd55193a89576c5ca5c4c0f6 [diff] |
Add paint_worklet_input_ to cc::PaintImage When Blink paints, it will create an Image if it is by CSS Paint. When this image is embedded in a display item list and passed to cc, it would be a cc::PaintImage. This CL makes a cc::PaintImage keeps a scoped_refptr to a PaintWorkletInput, which contains all the input parameters that are necessary to execute JS paint callbacks. Note that the PaintWorkletInput is a pure interface, so for testing purpose, we create a class TestPaintWorkletInput. Bug: 907897 Change-Id: I5f8562eaaf747fc6da723de11f0d668027f4469d Reviewed-on: https://chromium-review.googlesource.com/c/1348259 Commit-Queue: Xida Chen <xidachen@chromium.org> Reviewed-by: David Bokan <bokan@chromium.org> Reviewed-by: vmpstr <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/master@{#614064}
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 .