DescriptionFix performance regression in WebGL to 2D canvas draws.
Regression was introduced by this change:
https://codereview.chromium.org/2294383002
The change inadvertently modified the steps performed by
HTMLCanvasElement::getSourceImageForCanvas by no longer taking
advantage of the cached rendering results of the WebGL drawing buffer.
A secondary source of regression was that the AccelerationHint was
not being propagated correctly.
BUG=644401
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel
TEST=blink_perf.canvas / draw-static-webgl-to-hw-accelerated-canvas-2d
Committed: https://crrev.com/980562f70d53ff313d4f5cd885c70248d3dd902a
Cr-Commit-Position: refs/heads/master@{#417029}
Patch Set 1 #Messages
Total messages: 12 (7 generated)
|