Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 15, 2023
1 parent 3139f23 commit 6c5a5ba
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/mbgl/renderer/render_layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,15 @@ class RenderLayer {
bool hasRenderTile(const OverscaledTileID&) const;

/// Get the bucket ID from which a given tile was built
/// @details When a new style is loaded and contains a layer with the same ID, `layerChanged` will be called during style
/// parsing, but the `Bucket` in a tile's `RenderData` will only be replaced when the asynchronous load for the tile
/// is complete, at which point the drawable for the tile may need to be updated or replaced.
/// @details When a new style is loaded and contains a layer with the same ID, `layerChanged` will be called during
/// style
/// parsing, but the `Bucket` in a tile's `RenderData` will only be replaced when the asynchronous load for
/// the tile is complete, at which point the drawable for the tile may need to be updated or replaced.
util::SimpleIdentity getRenderTileBucketID(const OverscaledTileID&) const;

/// Set the bucket ID from which a given tile was built
/// @return true if updated, false if the tile ID is not present in the set of tiles to be rendered or the ID is unchanged
/// @return true if updated, false if the tile ID is not present in the set of tiles to be rendered or the ID is
/// unchanged
bool setRenderTileBucketID(const OverscaledTileID&, util::SimpleIdentity bucketID);
#endif // MLN_DRAWABLE_RENDERER

Expand Down

0 comments on commit 6c5a5ba

Please sign in to comment.