Skip to content

Commit f969cbb

Browse files
committed
remove completed todos
1 parent c59e190 commit f969cbb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

common/src/main/java/net/caffeinemc/mods/sodium/client/render/chunk/RenderSectionManager.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,6 @@ public void updateCameraState(Vector3dc cameraPosition, Camera camera) {
144144
this.cameraPosition = cameraPosition;
145145
}
146146

147-
// TODO: schedule only as many tasks as fit within the frame time (measure how long the last frame took and how long the tasks took, though both of these will change over time)
148-
149-
// TODO idea: increase and decrease chunk builder thread budget based on if the upload buffer was filled if the entire budget was used up. if the fallback way of uploading buffers is used, just doing 3 * the budget actually slows down frames while things are getting uploaded. For this it should limit how much (or how often?) things are uploaded. In the case of the mapped upload, just making sure we don't exceed its size is probably enough.
150-
151147
public void updateRenderLists(Camera camera, Viewport viewport, boolean spectator, boolean updateImmediately) {
152148
var now = System.nanoTime();
153149
this.lastFrameDuration = now - this.lastFrameAtTime;

0 commit comments

Comments
 (0)