forked from CaffeineMC/sodium
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix synchronous sort tasks, change important task scheduling to be se…
…parate from regular deferred task scheduling
- Loading branch information
Showing
10 changed files
with
191 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
243 changes: 152 additions & 91 deletions
243
...on/src/main/java/net/caffeinemc/mods/sodium/client/render/chunk/RenderSectionManager.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ain/java/net/caffeinemc/mods/sodium/client/render/chunk/async/FrustumTaskListsResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package net.caffeinemc.mods.sodium.client.render.chunk.async; | ||
|
||
import net.caffeinemc.mods.sodium.client.render.chunk.lists.TaskListCollection; | ||
import net.caffeinemc.mods.sodium.client.render.chunk.lists.DeferredTaskList; | ||
|
||
public interface FrustumTaskListsResult { | ||
TaskListCollection getFrustumTaskLists(); | ||
DeferredTaskList getFrustumTaskLists(); | ||
} |
4 changes: 2 additions & 2 deletions
4
.../src/main/java/net/caffeinemc/mods/sodium/client/render/chunk/async/GlobalCullResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
package net.caffeinemc.mods.sodium.client.render.chunk.async; | ||
|
||
import net.caffeinemc.mods.sodium.client.render.chunk.lists.TaskListCollection; | ||
import net.caffeinemc.mods.sodium.client.render.chunk.lists.DeferredTaskList; | ||
import net.caffeinemc.mods.sodium.client.render.chunk.lists.TaskSectionTree; | ||
|
||
public interface GlobalCullResult extends FrustumTaskListsResult { | ||
TaskSectionTree getTaskTree(); | ||
|
||
TaskListCollection getGlobalTaskLists(); | ||
DeferredTaskList getGlobalTaskLists(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 9 additions & 6 deletions
15
...ender/chunk/lists/TaskListCollection.java → .../render/chunk/lists/DeferredTaskList.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters