[Webkit-unassigned] [Bug 235196] New: Specify willReadFrequently: true in benchmarks tests that do 2D canvas readbacks
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 13 13:28:02 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=235196
Bug ID: 235196
Summary: Specify willReadFrequently: true in benchmarks tests
that do 2D canvas readbacks
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: junov at google.com
The Images test of MotionMark does a lot of calls to getImageData, and therefore should use the willReadFrequently context creation attribute (see: https://github.com/whatwg/html/commit/d3e5732abdec1a73f716d1fd90f69313c4ddd54c ).
Various browsers (Firefox, Edge, Chrome) in the near future will be removing heuristics that chose between CPU and GPU based rendering in order to make the browser's behavior more predictable. For web apps to retain good readback performance after these heuristics are removed, they will need to specify willReadFrequently at context creation time.
For MotionMark to continue to provide fair comparisons of browser performance, it should use the willReadFrequently attribute when appropriate.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220113/7316a98a/attachment.htm>
More information about the webkit-unassigned
mailing list