DescriptionDetermine if OffscreenCanvas is paintable in different rendering contexts
This CL adds isPaintable() to OffscreenCanvas which mimics HTMLCanvasElement::
isPaintable() with some adjustments. Certain common constants and utility
functions shared by OffscreenCanvas and HTMLCanvasElement have been moved to
platform/graphics/. This CL is to facilitate toBlob implementation.
BUG=563830
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel
Committed: https://crrev.com/aaa6eca6791478e854193a8da307449cd6af0256
Cr-Commit-Position: refs/heads/master@{#413450}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Redo #Patch Set 3 : comment #
Total comments: 8
Patch Set 4 : fix based on feedback #
Total comments: 2
Patch Set 5 : enum #
Total comments: 1
Messages
Total messages: 19 (5 generated)
|