You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Code/Tools/AssetProcessor/native
lumberyard-employee-dm 090aa8f053
Removed ununeeded includes from EBus EBus.h and Policies.h (#4256)
* Removed ununeeded includes from EBus EBus.h and Policies.h

Updated the locations which needed those includes

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Adding missing include for <memory> to AWsClientAuthBus.h

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Remove the while true loop in the EBusQueuePolicy Execute() function

The while true loop in Execute was for allowing additional functions to be queued in the middle of execution of current list of functions.
That functionality was dangerous, because if a queued function added itself during execution unconditionally, then it would result in an infinite loop

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updated the AssetManager::DispatchEvents function to pump the AssetBus event queue until empty

Queued Events on the AssetBus is able to queue additional events on that Bus during execution of those events.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Changed the AssetManager::DispatchEvents function to only execute the
AssetBus queued events once

Changed the AssetJobsFloodTest.AssetWithNoLoadReference_LoadDependencies_BehaviorObeyed test to dispatch events until the OnAssetContainerReady callback is signaled.

This happens after every asset load to make sure that the
expiring AssetContainer instances are removed from `AssetManager::m_ownedAssetContainer` container before retrying to load the same asset.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Added a MaxTimeoutSeconds constant for the maximum amount of the time to run a single DispatchEvents loop

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
4 years ago
..
AssetDatabase Added new index on SourceDependency Table (#3648) 4 years ago
AssetManager Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
FileProcessor Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
FileServer Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
FileWatcher Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
InternalBuilders Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
connection Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
resourcecompiler Code/Tools/AssetProcessor 4 years ago
shadercompiler Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
tests Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
ui Code/Tools 4 years ago
unittests Removed ununeeded includes from EBus EBus.h and Policies.h (#4256) 4 years ago
utilities Merge branch 'development' into cmake/warn_virtual 4 years ago
AssetProcessorBatchBuildTarget.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
AssetProcessorBuildTarget.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
assetprocessor.h Automated test for scene files with and without python scripts running python incorrectly (#2373) 4 years ago
main_batch.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
main_gui.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago