Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify Ebiten works on Edge #71

Closed
hajimehoshi opened this issue Jan 7, 2015 · 17 comments
Closed

Verify Ebiten works on Edge #71

hajimehoshi opened this issue Jan 7, 2015 · 17 comments

Comments

@hajimehoshi
Copy link
Owner

No description provided.

@hajimehoshi hajimehoshi changed the title Run on Internet Exprorer Run on Internet Explorer Jan 7, 2015
@otraore
Copy link

otraore commented Jun 23, 2016

What are the current problems with internet explorer?

@hajimehoshi
Copy link
Owner Author

There is no problem but the priority is low to me :-)

@otraore
Copy link

otraore commented Jun 24, 2016

I'm slightly confused, why have an issue with internet explorer if there's no issue with internet explorer?
Edit: Do you mean verify if it works on internet explorer?

@hajimehoshi
Copy link
Owner Author

hajimehoshi commented Jun 24, 2016

Ah, yeah, I've not tested Ebiten on IE yet, and maybe it doesn't work because of a slightly different web APIs.

EDIT: so the problem is just that "I've not tried".

@otraore
Copy link

otraore commented Jun 24, 2016

Suggestion: Change title to "Verify ebitten works on internet explorer" or "Try out ebitten on internet explorer" or something of that nature.

@hajimehoshi
Copy link
Owner Author

Makes sense. Thank you.

(BTW, not Ebitten but Ebiten :-)

@hajimehoshi hajimehoshi changed the title Run on Internet Explorer Verify Ebiten works on Internet Explorer Jun 24, 2016
@martinlindhe
Copy link
Contributor

tested (by visiting the examples in IE Edge),

  • there seems to be an issue with font rendering, see screenshots below
  • audio doesnt work in "audio" example
  • audio works in piano example
  • rendering issues in piano example
    otherwise mostly functional

ebiten-blocks-ie-edge

ebiten-sprites-ie-edge

ebiten-piano-ie-edge

@hajimehoshi
Copy link
Owner Author

Thank you! It looks like that alpha blending doesn't work and screen size is strange on your IE. The reasons can be 1) Ebiten's web implementation is not enough, 2) there is a bug in Edge or 3) your machine's graphic card has a problem. WebGL behavior heavily depends on the machine's graphics card, so if there is a strange behavior, there might be the same behavior on native apps. Have you run native Ebiten apps on your Windows?

@martinlindhe
Copy link
Contributor

The same apps look OK in native windows 10, here is screenshots:
ebiten-blocks-win10
ebiten-piano-win10
ebiten-sprites-win10

@martinlindhe
Copy link
Contributor

martinlindhe commented Aug 19, 2016

Regarding your note of WebGL and drivers.

This is produced by using vmware player, with 3d acceleration pass thru to host os (which is Linux, with ATI drivers). But demos does appear to look correct in the guest windows 10, and on the host Linux using these gfx drivers. (also on the host with gopherjs + webgl)

I do not have access to a "real" windows installation :(

@hajimehoshi
Copy link
Owner Author

hajimehoshi commented Aug 19, 2016

Thank you for testing! The native apps seem to work correctly.

I've tried VMWare or other VMs and found that there can be 3D graphic problems in a guest OS. Not sure why the problem happens only on Edge (on a guest OS?), but I think Ebiten implementation is not mature for IE/Edge. I'll look at this on a real Windows later.

@hajimehoshi
Copy link
Owner Author

Taking care of Edge would make more sense than IE now.

@hajimehoshi hajimehoshi changed the title Verify Ebiten works on Internet Explorer Verify Ebiten works on Edge Oct 27, 2016
@hajimehoshi hajimehoshi added this to the v1.6.0 milestone May 17, 2017
@hajimehoshi
Copy link
Owner Author

Tested on Windows Edge on Parallels:

Screenshot from Gyazo

That rendered with a very wrong scale :-(

@hajimehoshi
Copy link
Owner Author

Blocked by gopherjs/gopherjs#695

@hajimehoshi
Copy link
Owner Author

Next blocker...: gopherjs/gopherjs#688

@hajimehoshi
Copy link
Owner Author

hajimehoshi commented Sep 6, 2017

Hm, my guess is that Edge doesn't work well with a viewport that size is bigger than the framebuffer. Probably, the viewport size should be always same as the framebuffer size.

Similar problem report: https://msedgeportal.trafficmanager.net/en-us/microsoft-edge/platform/issues/175517/

@hajimehoshi
Copy link
Owner Author

Now Ebiten works on Edge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants