View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004836 | The Dark Mod | Coding | public | 14.06.2018 08:20 | 03.10.2021 17:06 |
Reporter | duzenko | Assigned To | cabalistic | ||
Priority | normal | Severity | tweak | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Product Version | SVN | ||||
Target Version | TDM 2.10 | Fixed in Version | TDM 2.10 | ||
Summary | 0004836: Early texture loading | ||||
Description | Currently textures are loaded at the end of map load even though materials that create them are loaded rather early. This way we can parse materials and images at the same time in parallel. Options/steps to move into a background thread: 0 - pass all image load errors to console as usual 1 - parse the image program 2 - load disk file content 3 - create a OpenGL texture on a secondary GL context (unless there is a context-less way to do this) | ||||
Tags | No tags attached. | ||||
related to | 0005591 | resolved | cabalistic | Reduce map load time |
I think texture loading is dominated by pushing data into OpenGL library/driver. So I'm not sure if this idea would help much given the effort. But as usual: if you introduce some multithreading, be sure to maintain a switch which makes everything single-threaded. There is nothing worse than unavoidable Heisenbugs in the code. |
|
Grayman was investigating this in 2014 here: https://svn.thedarkmod.com/svn/darkmod_src/branches/grayman_loading I haven't found the bug tracker about it yet. |
|
How much of this is implemented in 0005591 ? | |
Most likely materials parsing takes very little time, there is no sense in overlapping materials loading and image loading. Points 2 and 3 are now done in parallel. I think nothing is left here. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
14.06.2018 08:20 | duzenko | New Issue | |
14.06.2018 08:30 | duzenko | Description Updated | |
14.06.2018 08:31 | duzenko | Description Updated | |
14.06.2018 08:31 | duzenko | Description Updated | |
16.06.2018 06:25 | stgatilov | Note Added: 0010529 | |
16.06.2018 13:19 | nbohr1more | Note Added: 0010533 | |
16.06.2018 13:19 | nbohr1more | Note Edited: 0010533 | |
16.04.2021 15:24 | nbohr1more | Relationship added | related to 0005591 |
16.04.2021 15:25 | nbohr1more | Note Added: 0013864 | |
16.04.2021 18:28 | stgatilov | Note Added: 0013866 | |
16.04.2021 21:31 | nbohr1more | Assigned To | => cabalistic |
16.04.2021 21:31 | nbohr1more | Status | new => feedback |
16.04.2021 21:31 | nbohr1more | Target Version | => TDM 2.10 |
03.10.2021 17:06 | nbohr1more | Status | feedback => resolved |
03.10.2021 17:06 | nbohr1more | Resolution | open => fixed |
03.10.2021 17:06 | nbohr1more | Fixed in Version | => TDM 2.10 |