summaryrefslogtreecommitdiff
path: root/src/mbgl
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-05-25 16:21:15 +0300
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-05-28 16:16:42 +0300
commit43966f1611c52fef9b7fc344410c3a5235e07765 (patch)
tree72eeeef0f1b41ee17bd32afd820ac6f6f327c071 /src/mbgl
parent054645042a52de4d0b6d22d1ec033bc9197c9297 (diff)
downloadqtlocation-mapboxgl-43966f1611c52fef9b7fc344410c3a5235e07765.tar.gz
[core] Placement::placeLayerBucket() -> placeBucket()
Diffstat (limited to 'src/mbgl')
-rw-r--r--src/mbgl/renderer/buckets/symbol_bucket.cpp2
-rw-r--r--src/mbgl/text/placement.cpp2
-rw-r--r--src/mbgl/text/placement.hpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mbgl/renderer/buckets/symbol_bucket.cpp b/src/mbgl/renderer/buckets/symbol_bucket.cpp
index 33ddd4d53c..fe083cca9e 100644
--- a/src/mbgl/renderer/buckets/symbol_bucket.cpp
+++ b/src/mbgl/renderer/buckets/symbol_bucket.cpp
@@ -250,7 +250,7 @@ std::pair<uint32_t, bool> SymbolBucket::registerAtCrossTileIndex(CrossTileSymbol
}
void SymbolBucket::place(Placement& placement, const BucketPlacementParameters& params, std::set<uint32_t>& seenIds) {
- placement.placeLayerBucket(*this, params, seenIds);
+ placement.placeBucket(*this, params, seenIds);
}
void SymbolBucket::updateVertices(Placement& placement, bool updateOpacities, const RenderTile& tile, std::set<uint32_t>& seenIds) {
diff --git a/src/mbgl/text/placement.cpp b/src/mbgl/text/placement.cpp
index 49bf3844c8..c95df02a41 100644
--- a/src/mbgl/text/placement.cpp
+++ b/src/mbgl/text/placement.cpp
@@ -97,7 +97,7 @@ Point<float> calculateVariableLayoutOffset(style::SymbolAnchorType anchor, float
}
} // namespace
-void Placement::placeLayerBucket(
+void Placement::placeBucket(
SymbolBucket& bucket,
const BucketPlacementParameters& params,
std::set<uint32_t>& seenCrossTileIDs) {
diff --git a/src/mbgl/text/placement.hpp b/src/mbgl/text/placement.hpp
index 30062471da..a568b6985f 100644
--- a/src/mbgl/text/placement.hpp
+++ b/src/mbgl/text/placement.hpp
@@ -114,7 +114,7 @@ public:
const RetainedQueryData& getQueryData(uint32_t bucketInstanceId) const;
private:
friend SymbolBucket;
- void placeLayerBucket(
+ void placeBucket(
SymbolBucket&,
const BucketPlacementParameters&,
std::set<uint32_t>& seenCrossTileIDs);