Line caps in canvas not drawn correctly with GPU rendering
Reported by
jan.chri...@gmail.com,
Nov 6
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 Safari/537.36 Steps to reproduce the problem: Draw a path in canvas with: - lineWidth 1 - lineCap round or square - more than two points in path - enabled GPU rendering What is the expected behavior? What went wrong? The line cap is always drawn like "butt", even when it is set to "round" or "square". Did this work before? N/A Does this work in other browsers? Yes Chrome version: 69.0.3497.81 Channel: stable OS Version: Flash Version: I tested on Windows and Linux on two laptops with Intel GPU and all showed the issue. When the line width is even slightly larger than 1.0, the issue disappears.
,
Nov 15
I can confirm this on Mac Chrome 70.0.3538.102, and turning on/off the Accelerated 2D Canvas flag matches the results in the screenshots. With GPU enabled, all three line caps look the same.
,
Nov 16
|
|||
►
Sign in to add a comment |
|||
Comment 1 by viswa.karala@chromium.org
, Nov 7