Address canvas perf regressions in createImageBitmapFromImageData
This change tries to address the perf regression reported for createImageBitmapFromImageData canvas perf test. This change performs the premul operation in ImageData in advance, instead of doing that after creating the ImageBitmap. This has resulted in ~60% perf improvement on the local Linux machine, so it hopefully must address the regressions. Bug: 782813,787772,787811 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: If0f02d99677348d49cc9d16e910113b4250afb69 Reviewed-on: https://chromium-review.googlesource.com/802855Reviewed-by:Justin Novosad <junov@chromium.org> Commit-Queue: Mohammad Reza Zakerinasab <zakerinasab@chromium.org> Cr-Commit-Position: refs/heads/master@{#521476}
Showing
Please register or sign in to comment