-
-
Notifications
You must be signed in to change notification settings - Fork 333
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
Triangulated fill outlines #1780
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Bloaty Results 🐋Compared to main
Full report: https://maplibre-native.s3.eu-central-1.amazonaws.com/bloaty-results/pr-1780-compared-to-main.txtCompared to d387090 (legacy)
Full report: https://maplibre-native.s3.eu-central-1.amazonaws.com/bloaty-results/pr-1780-compared-to-legacy.txt |
…re-native into metal-fill-outline
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
This reverts commit 928a491.
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is the MLN_TRIANGULATE_FILL_OUTLINES
flag needed? Is it only because the legacy renderer does not support it? In this case, please add a comment to the issue to remove the legacy renderer to remove this build flag as well.
In general, I think we should avoid build time configuration as much as possible because only the default is tested / compiled on CI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we make the more correct (less performant) version the default?
@sjg-wdw @stefankarschti Can one of you create an issue that links to this PR to re-address this after variants have been introduced?
for more information, see https://pre-commit.ci
While investigating the failed render tests I realized that we also need shader variations for the triangulated lines in case of outline-color and opacity per-vertex, which is the case with some expressions. |
for more information, see https://pre-commit.ci
feat: Fill layer to generate outlines composed of triangle primitives
gfx::generateFillAndOutineBuffers
to generate its buffersMLN_TRIANGULATE_FILL_OUTLINES
#define infill_bucket.hpp
Refs: #1768