Skip to content
This repository has been archived by the owner on Apr 10, 2018. It is now read-only.

Remove "fill-antialias" property #289

Closed
ansis opened this issue Jun 11, 2015 · 7 comments
Closed

Remove "fill-antialias" property #289

ansis opened this issue Jun 11, 2015 · 7 comments

Comments

@ansis
Copy link
Contributor

ansis commented Jun 11, 2015

fill-antialias is useless. Theoretically you could disable antialiasing to get a tiny performance improvement if the fill edges are covered by something else (a thick line outline). In practice the performance improvement is insignificant.

@nickidlugash
Copy link
Contributor

@ansis Want to add to v8?

@tmcw tmcw mentioned this issue Jun 15, 2015
82 tasks
@ansis
Copy link
Contributor Author

ansis commented Jun 15, 2015

added

@kkaefer
Copy link
Contributor

kkaefer commented Jun 16, 2015

In practice the performance improvement is insignificant.

Not sure about this. Do you have any numbers? I've seen performance boosts for detailed polygons, like forest areas.

@ansis
Copy link
Contributor Author

ansis commented Jun 16, 2015

nope, I don't have any numbers. I was guessing that since the property could be used without visual defects in only a very small number of cases it wouldn't have any big impact on total performance.

I have a hard time imagining anyone actually using this property in a style, so I don't think we should have it in the editor or spec.

I'm fine with keeping it if you think people will actually use it.

@jfirebaugh
Copy link
Contributor

This doesn't block app, right? If so let's not change it in v8.

@lucaswoj lucaswoj changed the title remove fill-antialias Remove "fill-antialias" property Dec 22, 2016
@ajashton
Copy link
Member

ajashton commented Jan 25, 2017

When dealing with transparent overlapping shapes and subtle color shifts the aliased polygons tend to actually look better (especially on hidpi). We have fill-antialias disabled in hillshading layers for several styles to avoid problems with overlapping transparency (note both the seams due to lack of buffers and the darker outline around the full outline of each hillshade polygon):

screenshot from 2017-01-24 20 57 11

I would also like to see some numbers re: performance on some dense layers such as hillshading and landuse.

@lucaswoj
Copy link

lucaswoj commented Feb 1, 2017

This issue was moved to mapbox/mapbox-gl-js#4093

@lucaswoj lucaswoj closed this as completed Feb 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants