Bug 182379 - glClearColor - Safari Mobile WebGL implementation doesn't render a transparent background
Summary: glClearColor - Safari Mobile WebGL implementation doesn't render a transparen...
Status: RESOLVED DUPLICATE of bug 182550
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: Other
Hardware: iPhone / iPad Other
: P2 Major
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-02-01 01:35 PST by Roberto
Modified: 2018-03-07 11:05 PST (History)
2 users (show)

See Also:


Attachments
Minimal example reproducing the issue (559 bytes, application/zip)
2018-02-01 01:35 PST, Roberto
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roberto 2018-02-01 01:35:37 PST
Created attachment 332860 [details]
Minimal example reproducing the issue

On safari mobile on iOS 1.3 beta, when loading a website with a WebGL canvas and a text behind it, if you just call glClearColor with a transparent color, the text is not shown. It didn't happen in the previous version of Safari mobile.

The issue can be reproduced if you open Safari on iOS 1.3 beta and load any website with a WebGL canvas and a text behind it. For the canvas, just set the clear color to something semi transparent.

What I expect is to see the text behind the canvas. 

What I actually see is a black canvas.
Comment 1 Radar WebKit Bug Importer 2018-02-01 11:14:03 PST
<rdar://problem/37123031>
Comment 2 Dean Jackson 2018-03-07 11:05:36 PST
I think this is a dupe of 182550 and has been fixed.

*** This bug has been marked as a duplicate of bug 182550 ***