-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Conversation
9997c34
to
8f54901
Compare
5439462
to
06bc2ea
Compare
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.
lgtm with nits
@@ -412,7 +392,7 @@ void GeometryTileWorker::parse() { | |||
} | |||
|
|||
for (const auto& layer : group) { | |||
buckets.emplace(layer->baseImpl->id, bucket); | |||
renderData.emplace(layer->baseImpl->id, LayerRenderData{bucket, layer}); |
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.
std::move(bucket)
?
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.
bucket is shared between several items
const auto& evaluated_, | ||
const auto& crossfade_, | ||
const auto& tileBucket, | ||
auto&& uniformValues, |
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.
const auto&
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.
it is invoked with a temporary
const optional<ImagePosition>& patternPositionA, | ||
const optional<ImagePosition>& patternPositionB, auto&& textureBindings) { | ||
const optional<ImagePosition>& patternPositionB, | ||
auto&& textureBindings) { |
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.
const auto&
and remove moves in draw call below
Actual for layers rendering the geometry tile data: line, fill, fill-extrusion, heatmap, circle, symbol (was updated in previous commits).
06bc2ea
to
4ceb3e6
Compare
This patch does the following:
symbol
,line
,fill
,fill-extrusion
,heatmap
,circle
)style::LayerProperties
andLayerRenderData
types, which is a step towards separate render thread.Fixes #13812