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

Test layer.js. #949

Merged
merged 1 commit into from
Nov 2, 2018
Merged

Test layer.js. #949

merged 1 commit into from
Nov 2, 2018

Conversation

manthey
Copy link
Contributor

@manthey manthey commented Nov 2, 2018

Move the layer specification to a typedef for better documentation. Make sure all layer types use typedefs.

Fix issues with the layer id function.

Ensures that canvas and renderer can actually be specified when creating a layer. This allows layers to share a renderer or a canvas. For the webgl renderer, sharing a canvas results in flashing, as each layer completely redraws the canvas. When sharing a renderer, there is no proper support for opacity (probably not for visibility) or z-order, but this is a first step to implementing #942.

Removed some unused code.

Move the layer specification to a typedef for better documentation.
Make sure all layer types use typedefs.

Fix issues with the layer id function.

Ensures that canvas and renderer can actually be specified when creating
a layer.  This allows layers to share a renderer or a canvas.  For the
webgl renderer, sharing a canvas results in flashing, as each layer
completely redraws the canvas.  When sharing a renderer, there is no
proper support for opacity (probably not for visibility) or z-order, but
this is a first step to implementing #942.

Removed some unused code.
@manthey manthey merged commit 2d2a07e into master Nov 2, 2018
@manthey manthey deleted the layer-tests branch November 2, 2018 18:33
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.

2 participants