Skip to content

Enable WebGL - #243

Merged
zcbenz merged 1 commit into
electron:masterfrom
hughsk:enable-webgl
May 6, 2014
Merged

zcbenz merged 1 commit into
electron:masterfrom
hughsk:enable-webgl

Conversation

@hughsk

@hughsk hughsk commented May 6, 2014

Copy link
Copy Markdown
Contributor

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.

Unless there's a reason to have this disabled, it would be nice to have it made available :)

Thanks!

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.
@zcbenz

zcbenz commented May 6, 2014

Copy link
Copy Markdown
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.

zcbenz added a commit that referenced this pull request May 6, 2014
@zcbenz
zcbenz merged commit de59394 into electron:master May 6, 2014
@hughsk

hughsk commented May 6, 2014

Copy link
Copy Markdown
Contributor Author

Excellent, thanks @zcbenz! :)

@Nicolab

Nicolab commented May 8, 2014

Copy link
Copy Markdown

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 ?

@zcbenz

zcbenz commented May 9, 2014

Copy link
Copy Markdown
Contributor

Currently you have to rebuild atom-shell, but I'll provide a JavaScript API in future for this.

@Nicolab

Nicolab commented May 10, 2014

Copy link
Copy Markdown

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants