Automatic update from web-platform-tests
[OT-PW] Make it work with OOP-R
This CL makes off-thread paint worklet work with OOP-R. OOP-R serialize
an PaintOp and stores the serialized buffer in a shared memory. GPU
then reads the memory and de-serialize it.
For off-thread paint worklet, we are producing a DrawImageRectOp. Note
that this DrawImageRectOp is different than a normal one. It is a
DrawImageRectOp that contains a DrawRecord that contains multiple
PaintOps in it. So this CL adds a special code path to serialize it,
for paint worklet DrawImageRectOp only. The way to serialize it is to
iterate over all the PaintOps inside the DrawRecord. In this way, we
do not need to change anything on the GPU de-serialize code.
We also changed the layout tests. We changed some tests, now using
fillRect instead of strokeRect.
The problem with strokeRect is that using GPU rasterization could
easily result in subpixel difference on different platforms. Using
fillRect will avoid that.
Bug: 1020238
Change-Id: Ie0aadfe217e462547cc16a273d09ec8a64f055a0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1957012
Reviewed-by: Yi Gu <[email protected]>
Reviewed-by: Khushal <[email protected]>
Commit-Queue: Xida Chen <[email protected]>
Cr-Commit-Position: refs/heads/master@{#725554}
--
wpt-commits: 15e4f2b5a97b2fcd14c592f2de16cc62a82c645d
wpt-pr: 20705
Automatic update from web-platform-tests[css-typed-om] Whitelist supported properties.
This patch whitelists all our supported properties. Any property that
is not supported will return a base CSSStyleValue. This ensures that
we don't accidentally produce unexpected results for properties that
we haven't tested it.
We also add a few new properties to support, bringing the total number
of property tests to 50. We also remove support for 'z-index' because
it uses <integers> which we don't support yet.
transition-duration is failing tests because we currently convert
ms to seconds when we compute, which is incorrect.
Some paint/layout tests depend on properties that are not whitelisted,
so we've changed them:
- border-radius -> margin-left
- align-items -> empty-cell
Bug: 816402
Change-Id: I84d2fd8a15df92624122f0c1ecf4f7c42f928928
Reviewed-on: https://chromium-review.googlesource.com/942651
Reviewed-by: nainar <[email protected]>
Commit-Queue: Darren Shen <[email protected]>
Cr-Commit-Position: refs/heads/master@{#540397}
wpt-commits: 12e0354d971ce3f705991a4f68837d24947865df
wpt-pr: 9738
wpt-commits: 12e0354d971ce3f705991a4f68837d24947865df
wpt-pr: 9738
Automatic update from web-platform-tests[css-typed-om] Remove StylePropertyMap.getProperties().
This patch removes StylePropertyMap.getProperties() as it
is the same as StylePropertyMap.keys().
Bug: 545318
Change-Id: Ib31c70478306f415c4c184e1b2148f35759f58c4
Reviewed-on: https://chromium-review.googlesource.com/925883
Commit-Queue: Darren Shen <[email protected]>
Reviewed-by: nainar <[email protected]>
Cr-Commit-Position: refs/heads/master@{#538033}
wpt-commits: eb5d88a3f712661c75c0f1ba051c06e97d43de1a
wpt-pr: 9580
wpt-commits: eb5d88a3f712661c75c0f1ba051c06e97d43de1a
wpt-pr: 9580