Commit Graph

3301 Commits

Author SHA1 Message Date
James Seibel a577d69e8c Re-add a missing GLState revertion 2025-01-11 08:22:22 -06:00
James Seibel 14c6707ff9 Fix compiling, forgot to move some QuadTree objects 2025-01-10 22:16:11 -06:00
James Seibel 3c1d9f3e3f Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core 2025-01-10 21:58:04 -06:00
James Seibel 430942788d Fix rendering LODs from different levels after changing dimensions 2025-01-10 21:57:51 -06:00
s809 ec19e43216 Add pregen command 2025-01-11 02:55:04 +05:00
James Seibel 29040519e0 Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core 2025-01-10 07:26:30 -06:00
James Seibel f93b57e935 Improve initial LOD loading speed and add KeyedLockContainer 2025-01-10 07:26:27 -06:00
s809 ea34e9514b Simplify executor task submitting logic 2025-01-10 12:42:16 +05:00
James Seibel 506b2b0f7b Fix delayedSaveCache and fix slow LOD updating regression 2025-01-09 21:26:51 -06:00
James Seibel ffc982ba55 Fix a couple error messages 2025-01-09 21:23:43 -06:00
James Seibel 2936215f46 replace stacktrace prints with loggers 2025-01-09 18:43:52 -06:00
James Seibel e8956392cf Improve initial LOD loading speed and allow removing executor tasks 2025-01-09 18:33:28 -06:00
James Seibel fc87a1201d add logger to GitlabGetter 2025-01-09 17:26:43 -06:00
James Seibel eb7b03fbfe fix some data sources not being caught and closed
This should further reduce the max memory needed.

DelayedFullDataSourceSaveCache is problematic due to not properly closing all data sources it creates and has been deprecated and removed.
2025-01-09 17:19:49 -06:00
s809 f10c21f0a3 Change priorities a bit 2025-01-08 19:59:15 +05:00
s809 12e7aaa7b2 Ignore task rejections if shutting down 2025-01-08 18:46:19 +05:00
s809 475574d6fa Use separate debug renderer for sync on load 2025-01-08 17:18:49 +05:00
s809 c660aa9fb3 Fix server generation constantly subdividing in INTERNAL_SERVER mode 2025-01-08 14:33:57 +05:00
James Seibel 54cbead4eb Improve auto updater logging and fix potential issues with updating 2025-01-07 21:33:34 -06:00
James Seibel a49d74763a Add quick config to show/hide world gen progress 2025-01-07 20:30:29 -06:00
James Seibel e3722f2894 Fix missing LODs (especially when world gen is active) 2025-01-07 20:14:41 -06:00
James Seibel 5f76aaee97 Fix missing method from merge 2025-01-07 20:14:01 -06:00
James Seibel cd39831665 merge 2025-01-07 20:00:33 -06:00
James Seibel 036b42d197 Add world gen progress updates to the overlay 2025-01-07 19:18:21 -06:00
s809 fbd73b9b11 Fix some small issues and add comments 2025-01-07 17:08:19 +05:00
s809 7e222b7555 Merge branch 'refactor/thread-pool-executors' 2025-01-07 16:36:41 +05:00
s809 06b8f88403 Force highest detail in INTERNAL_SERVER mode 2025-01-07 02:35:53 +05:00
s809 56c09f5f5c Add a config option to force server to always send only the highest detail 2025-01-07 01:25:31 +05:00
s809 c49a61f118 Add more comments 2025-01-07 00:05:16 +05:00
s809 14cd0c4b09 Refactor thread pool handling 2025-01-06 23:32:20 +05:00
James Seibel 6ce6145912 Log a warning if the vanilla render distance is too high 2025-01-05 19:15:11 -06:00
s809 2c8c1e478d Remove + on start of the line 2025-01-04 23:31:25 +05:00
s809 a444e3b974 Add comments to UPDATE_POS_MANAGER.maxSize and refactor 2025-01-04 22:11:17 +05:00
James Seibel fa61e62df9 Add more detail to CPU preset config tooltip 2025-01-04 10:02:35 -06:00
James Seibel b8037e3bea Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core 2025-01-04 09:48:30 -06:00
James Seibel e0baf9be93 minor jarUtil comment change 2025-01-04 09:48:22 -06:00
James Seibel 673e7d14dd make ModInfo.IS_DEV_BUILD final 2025-01-04 09:45:08 -06:00
James Seibel 4f3e867e0b Fix chunk update queue max count for multiplayer player counts
also fix variable/logging
2025-01-04 09:42:05 -06:00
James Seibel 476b96bca6 prevent infinitely growing memory when rapidly changing between dimensions 2025-01-04 09:40:32 -06:00
James Seibel 6a9986ccd3 Move networked chunk updating to the LodBuilder thread
This is done both to prevent starvation, infinitely growing tasks/memory, and simplify the AbstractDhServerLevel.updateDataSourcesAsync() method.
2025-01-04 09:40:01 -06:00
James Seibel 4dd2faad67 Hide disableUnchangedChunkCheck from the UI 2025-01-04 09:31:52 -06:00
James Seibel 9622fc3bd7 Use soft references in array pool to prevent some memory crashes
Also log if there isn't enough memory
2025-01-04 09:31:42 -06:00
James Seibel 31490f97b9 add missing "this" to QuadElementBuffer 2025-01-04 09:02:50 -06:00
James Seibel cc006ebb5d limit queued render section loading to fix memory ballooning 2025-01-04 09:02:29 -06:00
James Seibel 184f261d6b Add deprecated Purge to RateLimitedThreadPoolExecutor 2025-01-04 08:58:33 -06:00
s809 a916fe1db1 Add a comment to priority calculation 2025-01-04 19:44:23 +05:00
s809 8686e1727f Move ThreadPoolExecutor#beforeExecute into correct place 2025-01-04 19:25:30 +05:00
s809 e770943fc9 Improve task prioritization 2025-01-04 19:23:25 +05:00
s809 5a31be1e42 Fix re-queueing of positions to reload cancelling the tick 2025-01-04 19:23:25 +05:00
s809 6774a84f61 Remove unused field 2025-01-04 19:23:25 +05:00