Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Abort layer drawing early #184

Closed
3 tasks done
kkaefer opened this issue May 12, 2014 · 0 comments
Closed
3 tasks done

Abort layer drawing early #184

kkaefer opened this issue May 12, 2014 · 0 comments

Comments

@kkaefer
Copy link
Member

kkaefer commented May 12, 2014

Now that we're drawing layer by layer (#122), we need a way to abort early when the current layer is not being drawn, e.g. because the stylesheet doesn't show it, or because none of the tiles on the layer has any data. This allows us to not update the clip id for every tile and iterating through all tiles in general.

  • abort if a tile has no data
  • abort if the style specifies "disabled"
  • abort if the current render pass wouldn't render anything for a bucket type
kkaefer added a commit that referenced this issue May 12, 2014
kkaefer added a commit that referenced this issue May 12, 2014
kkaefer added a commit that referenced this issue May 13, 2014
@kkaefer kkaefer closed this as completed May 13, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant