fix: audit STEP-057 weather runtime facade
Some checks failed
validate-scripts / validate-scripts (push) Has been cancelled
Some checks failed
validate-scripts / validate-scripts (push) Has been cancelled
This commit is contained in:
@@ -999,6 +999,13 @@ bool RenderRasterParticleLayer::needsRepaint() const {
|
||||
baseImpl->visibility != style::VisibilityType::None;
|
||||
}
|
||||
|
||||
bool RenderRasterParticleLayer::needsHiddenLayerSourceCleanup(const RenderSource& renderSource) const {
|
||||
if (!formalSource || !gpuResources || renderSource.baseImpl->type != style::SourceType::RasterArray) return false;
|
||||
const auto& source = static_cast<const RenderRasterArraySource&>(renderSource);
|
||||
const auto& impl = source.impl();
|
||||
return impl.hostFieldSubmission && !impl.field && !impl.nextField && !impl.timeline;
|
||||
}
|
||||
|
||||
void RenderRasterParticleLayer::markLayerRenderable(bool willRender, UniqueChangeRequestVec& changes) {
|
||||
// RenderOrchestrator calls this while visiting each source. In a style with more
|
||||
// than one source, false can therefore be a transient per-source result, not a
|
||||
|
||||
Reference in New Issue
Block a user