diff options
author | Jeroen Bakker <jbakker> | 2020-06-15 16:22:40 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2020-06-15 16:22:57 +0300 |
commit | 3c717a631b56244f4a6c6dc30e8c353f318b35fe (patch) | |
tree | 2e014da09bcec7e02059c50b768a36ab57e7d633 /release | |
parent | ec25084f5a404cbca4ceffd659d46b21c758522a (diff) |
Fix Memory Leak introduced by Draw Manager Threading
The memory leak is noticeable when using custom bone shapes. When using custom
bone shapes objects could be extracted twice. Where the second extraction can
overwrite data created by the first extraction what causes the memory leak.
Options that have been checked:
1. Use two task graphs phases. One for normal extraction (DST.task_graph) and
the other one will handle extractions that require blocking threads.
2. Keep a list of all objects that needs extraction and only start extraction
when all objects have been populated.
The second would slow performance as the extraction only happens when all
objects have been populated. In the future we might want to go for the second
option when we have the capability to render multiple viewports with a single
populate. As this design isn't clear this patch will implement the first
option.
Reviewed By: Clément Foucault
Differential Revision: https://developer.blender.org/D7969
Diffstat (limited to 'release')
m--------- | release/datafiles/locale | 0 | ||||
m--------- | release/scripts/addons | 0 | ||||
m--------- | release/scripts/addons_contrib | 0 |
3 files changed, 0 insertions, 0 deletions
diff --git a/release/datafiles/locale b/release/datafiles/locale -Subproject 6a51493509090c7fa3bd2e69105761c3c144c7d +Subproject 72e5040232a544b293dca05dac5707bd4e4bffa diff --git a/release/scripts/addons b/release/scripts/addons -Subproject fdfe8d4f41245e7c19068021ef12f58fa2ad32d +Subproject 8397b98b8cb6510869d28a84592b8d7213c3b6c diff --git a/release/scripts/addons_contrib b/release/scripts/addons_contrib -Subproject 4cf486c4eba158b453bdd87d97b74192ef7497b +Subproject 7c36b48507f79ca62f8c038bad0fb3468c4f48e |