[Webkit-unassigned] [Bug 193895] image-rendering: pixelated does not work with WebGL (but does with Canvas2D)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 22 05:48:30 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=193895

--- Comment #3 from Joni Korpi <me at jonikorpi.com> ---
Just chiming in to say this issue still exists, and explain why it’d be nice to get it fixed.

Rendering WebGL at a lower-than-native resolution is a great way to save performance. The problem is by default you end up with a blurry mess. However, with `pixelated` (supported by Chrome) or `crisp-edges` (supported by Firefox) the result is a nice, retro-ish look, familiar to anyone who might have played PC games such as Devil Daggers or Return of the Obra Dinn.

Safari being the only major browser to not support either is a blocker for using this method.

We can mostly get around this by rendering to a lower resolution framebuffer, and rendering that to a native resolution canvas. But the overhead from that can negate much (or even all) of the performance savings made in the first place.

-- 
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/20210822/f981bbb5/attachment-0001.htm>


More information about the webkit-unassigned mailing list