Adaptive raster culling #41

Merged
embeddedt merged 9 commits from adaptive-raster-culling into stonecutter 2026-09-17 10:10:54 -04:00
Showing only changes of commit a0adff5158 - Show all commits
@@ -111,7 +111,7 @@ public final class RasterBudget {
return; return;
} }
if (this.yieldEma >= HIGH_YIELD) { if (this.yieldEma >= HIGH_YIELD && yield >= HIGH_YIELD) {
this.limit = Math.min(saturatingDouble(this.limit), this.ceiling); this.limit = Math.min(saturatingDouble(this.limit), this.ceiling);
} else if (this.yieldEma <= LOW_YIELD) { } else if (this.yieldEma <= LOW_YIELD) {
this.limit = Math.max(this.limit >> 1, FLOOR); this.limit = Math.max(this.limit >> 1, FLOOR);