Chromium Code Reviews
DescriptionAdd Intel macOS workaround for WebGL2 canvas_sub_rectangle tests
Reading pixels back from a texture based 2D canvas is flaky with Mac
Intel driver. This workarounds it by doing a redundant texture copy
before reading. The issue happens using TexImage2D and TexSubImage2D in
turn to source from a GPU-based 2D canvas. Currently TexImage2D may be
hardware-accelerated via GPU texture copying, whereas TexSubImage2D
has to do software read-back as blink has no knowledge of destination
texture's internal format. The cases can pass if merely testing either,
but fail testing both with the software and hardware copy mixed.
BUG=665656
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
Patch Set 1 #Patch Set 2 : Add AccelerationHint #Patch Set 3 : Workaournd for Canvas2D pixel readback #Patch Set 4 : add comments #
Total comments: 4
Messages
Total messages: 52 (42 generated)
|