[Webkit-unassigned] [Bug 216860] [GPU Process] fast/canvas/canvas-blend-image.html and fast/canvas/canvas-blend-solid.html fail on macOS
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 22 17:46:53 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=216860
--- Comment #1 from Wenson Hsieh <wenson_hsieh at apple.com> ---
Super simple test case:
```
<canvas width="1" height="1"></canvas>
<script>
let canvas = document.querySelector("canvas");
let context = canvas.getContext("2d");
context.fillStyle = "red";
context.fillRect(0, 0, 1, 1);
let data = context.getImageData(0, 0, 1, 1);
document.write(`This is solid red (RGBA): ${data.data[0]}, ${data.data[1]}, ${data.data[2]}, ${data.data[3]}`);
</script>
```
This is expected to output “This is solid red (RGBA): 255, 0, 0, 255”. However, when forcing unaccelerated remote image buffers using the GPU process, we get this instead:
“This is solid red (RGBA): 0, 0, 255, 255”
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200923/be2fc2b8/attachment.htm>
More information about the webkit-unassigned
mailing list