Bug 191827

Summary: cannot turn off antialiasing in webGL
Product: WebKit Reporter: Blaine Bell <blaine>
Component: WebGLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: blaine, dino, justin_fan, kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 12   
Hardware: Mac   
OS: macOS 10.13   
Attachments:
Description Flags
attached html and checker.png image that shows pixelated works for the img but not canvas none

Blaine Bell
Reported 2018-11-18 18:05:44 PST
Created attachment 355246 [details] attached html and checker.png image that shows pixelated works for the img but not canvas I am trying to turn off antialiasing for a WebGL context inside Safari and cannot do so. Attached is an HTML file that can reproduce this problem, it works just fine on Chrome and FireFox. This example simply opens a WebGL context and draws a rectangle. The output in Safari has the edges antialiased, which it should not. Either this is a bug, or I am missing something that I should be doing that is specific to Safari/Webkit? Please let me know if either way. I set the "antialias" option to false that is passed into glCanvas.getContext("webgl", options);, and I also use the style flags that I have found resources on the web/stackoverflow that normally turns antialiasing off. The exact versions I am using are Safari Version 12.0.1 (13606.2.104.1.2) on OSX 10.13.6. Thanks! Blaine
Attachments
attached html and checker.png image that shows pixelated works for the img but not canvas (2.44 KB, application/x-gzip)
2018-11-18 18:05 PST, Blaine Bell
no flags
Radar WebKit Bug Importer
Comment 1 2018-11-19 21:35:06 PST
Blaine Bell
Comment 2 2018-12-12 14:24:54 PST
Hi! Is there any update on this issue? Are you able to reproduce it using my description and attachments? Thanks so much! Blaine
Kimmo Kinnunen
Comment 3 2024-01-17 01:54:10 PST
Thanks, this should work now *** This bug has been marked as a duplicate of bug 193895 ***
Note You need to log in before you can comment on or make changes to this bug.