Repository navigation
Enable WebGL - #243
Merged
Merged
Enable WebGL#243
Conversation
Enabling the `experimental_webgl_enabled` preference allows you to create a WebGL context from within atom-shell. While not necessarily important for the Atom editor, for others to use atom-shell in substitution for node-webkit this is a potentially useful feature, e.g. for packaged HTML5 games.
Contributor
|
Thanks! I'll provide an option to let user control which web preferences should be allowed in future, for now I think simply enabling webgl is fine. |
Contributor
Author
|
Excellent, thanks @zcbenz! :) |
|
Excellent 👍 Currently it's the only way to enable or disable the preferences (example: disable-webaudio or enable-webaudio, ...) Or there is another way simpler than rebuilding the bin of atom-shell ? |
Contributor
|
Currently you have to rebuild atom-shell, but I'll provide a JavaScript API in future for this. |
|
Ok thanks :) |
kevinsawicki
pushed a commit
that referenced
this pull request
May 9, 2017
Offscreen rendering support for Electron
kevinsawicki
pushed a commit
that referenced
this pull request
May 9, 2017
Offscreen rendering support for Electron
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enabling the
experimental_webgl_enabledpreference allows you to create a WebGL context from within atom-shell.While not necessarily important for the Atom editor, for others to use atom-shell in substitution for node-webkit this is a potentially useful feature, e.g. for packaged HTML5 games.
Unless there's a reason to have this disabled, it would be nice to have it made available :)
Thanks!