Bug 261069

Summary: Safari 17 Beta: Output of WebGL Offscreen Canvases vertically mirrored when copying to a BitmapRenderer context when premultipliedAlpha is set to false
Product: WebKit Reporter: Patrick Martin <patrick.martin.r>
Component: WebGLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: ap, dino, djg, karlcow, kbr, kkinnunen, mattwoodrow, patrick.martin.r, paul.neave, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 17   
Hardware: All   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=259306
Attachments:
Description Flags
Test case for the bug
none
rendering in Safari, firefox, chrome
none
Screenshot of the bug, compare with other set of screenshots none

Patrick Martin
Reported 2023-09-02 12:29:43 PDT
Created attachment 467528 [details] Test case for the bug Safari 17 Beta displays output of Webgl Offscreen Canvases vertically mirrored when copying to a BitmapRenderer context when premultipliedAlpha is set to false. This seems to be the same bug as 259306 but I can't be certain as it doesn't appear to be fixed yet so I'm posting this bug anyways. The output of the canvas in the example can be compared with another browser to verify the bug.
Attachments
Test case for the bug (2.51 KB, text/html)
2023-09-02 12:29 PDT, Patrick Martin
no flags
rendering in Safari, firefox, chrome (265.84 KB, image/png)
2023-09-03 21:07 PDT, Karl Dubost
no flags
Screenshot of the bug, compare with other set of screenshots (758.37 KB, image/png)
2023-09-04 00:01 PDT, Patrick Martin
no flags
Alexey Proskuryakov
Comment 1 2023-09-03 13:50:37 PDT
Bug 259306 was supposed to be fixed in recent betas. However, I cannot reproduce this, the test case looks the same as in Chrome and in Firefox. Could you please add more information, such as your hardware model and exact OS build?
Patrick Martin
Comment 2 2023-09-03 18:37:23 PDT
It's a Mac Mini (I'm not sure which one or which version of the OS as I'm using it remotely through a service for testing my web library) The version of safari it has is Version 17.0 (19616.1.20.11.3)
Karl Dubost
Comment 3 2023-09-03 21:07:58 PDT
Created attachment 467532 [details] rendering in Safari, firefox, chrome I don't see any differences.
Patrick Martin
Comment 4 2023-09-04 00:01:09 PDT
Created attachment 467535 [details] Screenshot of the bug, compare with other set of screenshots
Alexey Proskuryakov
Comment 5 2023-09-04 13:13:21 PDT
What is the Mac mini model? In particular, is it an Apple Silicon or an Intel one? You can see the details in About this Mac under the Apple menu.
Patrick Martin
Comment 6 2023-09-04 14:35:44 PDT
The service I'm using doesn't allow access to the apple menu as far as I can tell.
Alexey Proskuryakov
Comment 7 2023-09-05 10:23:36 PDT
I cannot reproduce this on an Intel Mac mini either.
Patrick Martin
Comment 8 2023-09-06 14:11:04 PDT
It also appears to happen on iPhone 13 running Safari 17. I'm using BrowserStack just in case you need to know the service.
Alexey Proskuryakov
Comment 9 2023-09-06 14:49:02 PDT
According to a quick web search, BrowserStack advertises running on physical devices, not in virtualization, which makes this even more surprising. I'm not sure if we can do much more unless this reproduces in other environments, or BrowserStack works with Apple to provide details of their setup. Would you mind reaching out to BrowserStack about this problem, and having them get in touch? https://feedbackassistant.apple.com would be the best way, but additionally weighing in here would be appreciated too.
Radar WebKit Bug Importer
Comment 10 2023-09-09 12:30:13 PDT
Patrick Martin
Comment 11 2023-09-23 13:32:57 PDT
I informed browserstack of the issue. They said they are looking into it.
Patrick Martin
Comment 12 2023-09-26 11:53:27 PDT
I just received this email from browserstack: Hi Patrick, Thank you for your patience. I hope you are doing good. Our engineering team has checked this further, and we strongly believe that the issue is a Safari bug and not something related to BrowserStack Live implementation. This is based on a previous similar bug reported by others, as well as the original bug ticket with Apple. We are willing to provide any necessary information that you require from our end, but we don't have any follow-up steps to take in this case. Having said that, It may be worth asking the Apple Dev team to attempt to replicate the issue on the exact build of Safari. I have attached a screenshot for your reference. I hope this helps. Best Regards, Saud S BrowserStack Support
Alexey Proskuryakov
Comment 13 2023-09-28 09:24:10 PDT
Thank you. Is there any chance BrowserStack could share the original bug ticket with Apple?
Alexey Proskuryakov
Comment 14 2023-10-20 13:04:32 PDT
This doesn't reproduce on browserstack.com. I don't see what we can do about this, given that we cannot reproduce in our VMs, and that this does not affect BrowserStack at this time. Please feel free to reopen if actionable details become available.
Note You need to log in before you can comment on or make changes to this bug.