veloren/voxygen/src
Joshua Yanovski 866cc79d2e Enable allocation of new textures on atlas allocation failure.
This solves the problem of not being able to set the view distance too
high, especially in pathological cases like giant trees.  For
simplicity, we just freeze any atlas where allocation failed and start
allocating to a new texture and atlas, letting reference counting
destroy the old one when there are no more references to it.  Because of
the spatial locality of chunk allocations, chunks allocated together
will virtually always have similar lifetimes, so the odds of this
causing significant fragmentation are very low, meaning this simple
solution should not do much worse than a much fancier one.
2021-03-20 16:21:41 +01:00
..
audio Wielding now works again 2021-03-14 17:26:55 -04:00
ecs Address MR 1945 review comments. 2021-03-19 19:53:17 -04:00
hud Enable allocation of new textures on atlas allocation failure. 2021-03-20 16:21:41 +01:00
menu Remove unwraps when asset loading fails 2021-03-18 12:56:17 +00:00
mesh Initial implementation of glow/shininess 2021-03-10 18:58:25 +00:00
render Enable allocation of new textures on atlas allocation failure. 2021-03-20 16:21:41 +01:00
scene Enable allocation of new textures on atlas allocation failure. 2021-03-20 16:21:41 +01:00
ui Theropod charge attack 2021-03-14 18:10:40 +01:00
controller.rs Completely purged old method of inputs 2021-03-14 17:26:55 -04:00
error.rs get rid of insecure dependency completly 2020-12-11 16:13:57 +01:00
i18n.rs Use concat to build i18n specifiers" 2021-01-04 00:06:14 +01:00
key_state.rs Primary input now activated from control actions. 2021-03-14 17:26:51 -04:00
lib.rs Move Specs code to own common_ecs create, put tracy and macros into common_base 2021-03-09 00:54:01 +01:00
logging.rs Fix tracy not working in certain areas, add span to chunk gen, missing fmt, remove extra span, make voxygen use INFO level instead of TRACE in tracy mode 2021-03-13 13:30:20 -05:00
main.rs Update Network Protocol 2021-02-22 17:34:55 +01:00
meta.rs Put server-cli specific settings in their own structure, serde_derive -> serde 2020-10-10 02:10:32 -04:00
profile.rs Refactored loadout to have public functions for each slot instead of requiring callers to use the _INDEX consts 2021-01-08 19:12:09 +00:00
run.rs fix tracy 2021-03-11 17:05:17 +01:00
session.rs Address MR 1945 review comments. 2021-03-19 19:53:17 -04:00
settings.rs Wielding now works again 2021-03-14 17:26:55 -04:00
singleplayer.rs Move Specs code to own common_ecs create, put tracy and macros into common_base 2021-03-09 00:54:01 +01:00
window.rs Completely purged old method of inputs 2021-03-14 17:26:55 -04:00