DescriptionAdd stable id to PaintImage.
This patch adds a stable id into PaintImage. This is stable in the sense
that if the blink::Image that generated the paint image hasn't changed,
then the id would be the same. It's used in a case where either we have
a partially loaded image that finishes loading or an animated image
ticks to a new frame. In those cases, the SkImage unique id is different
since the contents of the image are different. However, the stable id
should remain the same to indicate that it's a part of logically the
same image.
The primary use for the stable id would be to determine whether the
compositor is allowed to checker the image. Specifically, if we have
ever displayed an image stable id X, then all other images with the
same stable id X are not allowed to be checker imaged.
R=khushalsagar@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2873003002
Cr-Original-Commit-Position: refs/heads/master@{#471351}
Committed: https://chromium.googlesource.com/chromium/src/+/ae192fde12e7fba4ac2d8f027037d10c3d0f22a4
Review-Url: https://codereview.chromium.org/2873003002
Cr-Commit-Position: refs/heads/master@{#472182}
Committed: https://chromium.googlesource.com/chromium/src/+/81a39a3185a65ddf4b517b7c389cce6d19a8249f
Patch Set 1 #
Total comments: 2
Patch Set 2 : rebase #Patch Set 3 : update #
Total comments: 3
Patch Set 4 : staticatomicsequencenumber #Patch Set 5 : initializeid #Patch Set 6 : rebase #Messages
Total messages: 73 (37 generated)
|