DescriptionImplement commit for unaccelerated canvas with GPU compositing
This CL implements OffscreenCanvas2d's commit API in the case where the
canvas is not GPU-accelerated, but the compositor is. In this case, we
extract a StaticBitmapImage from the imageBuffer, upload the CPU memory
that the StaticBitmapImage holds to GPU texture, and prepare a
CompositorFrame from the GPU texture.
A GPU pixel test is added to test this code path.
BUG=563852
TBR=kbr@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
Committed: https://crrev.com/5371a41d019eb15db652d406a7c0f63ea179cbbe
Cr-Commit-Position: refs/heads/master@{#422927}
Patch Set 1 #Patch Set 2 : restructure code, needs clean up #Patch Set 3 : clean up #Patch Set 4 : rebase after Blink Reformat, may need a small cleanup #Patch Set 5 : clean up #Patch Set 6 : another minor cleanup #
Total comments: 4
Patch Set 7 : address comments #
Total comments: 1
Patch Set 8 : name change #Patch Set 9 : fix windbg compile error #
Total comments: 1
Messages
Total messages: 26 (16 generated)
|