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

chore: Remove WebGL dependencies from data-filter-extension #9181

Closed
wants to merge 1 commit into from

Conversation

ibgreen
Copy link
Collaborator

@ibgreen ibgreen commented Sep 25, 2024

Closes #

Background

  • luma.gl v9.1 removes most WebGL only functions. Need to adopt the portable API.

Change List

@@ -316,27 +316,30 @@ export default class DataFilterExtension extends LayerExtension<
} = this.getAttributeManager()!;
filterModel.setVertexCount(this.getNumInstances());

this.context.device.clearWebGL({framebuffer: filterFBO, color: [0, 0, 0, 0]});

filterModel.updateModuleSettings(params.moduleParameters);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@felixpalmer Not sure how to deal with the moduleParameters they are completely untyped, not sure if they have the right structure for shaderInputs.setProps()

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you review #9158 ? I believe I've handled it there

@ibgreen
Copy link
Collaborator Author

ibgreen commented Sep 25, 2024

Closing in favor of #9158

@ibgreen ibgreen closed this Sep 25, 2024
@ibgreen
Copy link
Collaborator Author

ibgreen commented Sep 25, 2024

@felixpalmer That's great. Would be good to get your various PR merged before I continue on luma v9.1 integration. There is a lot of stuff that would help in review right now. Let me know if you need my attention on additional PRs.

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