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

Default to WebGL "high performance" mode #721

Merged
merged 1 commit into from
Jun 12, 2019
Merged

Default to WebGL "high performance" mode #721

merged 1 commit into from
Jun 12, 2019

Conversation

bcamper
Copy link
Member

@bcamper bcamper commented Jun 9, 2019

Defaults to using high-performance for WebGL's powerPreference setting. This will ask for use of the discrete GPU where possible. The user can override as with other GL context options:

const layer = Tangram.leafletLayer({ scene, { webGLContextOptions: { powerPreference: 'low-power' } } });

@bcamper bcamper added this to the v0.19.0 milestone Jun 9, 2019
@bcamper
Copy link
Member Author

bcamper commented Jun 12, 2019

Discussed in chat and further with @meetar.

@bcamper bcamper merged commit 4b51e07 into master Jun 12, 2019
@bcamper bcamper deleted the power-pref branch June 12, 2019 02:43
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.

1 participant