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/Gems
rgba16f [Amazon] e1c49e436d
convert atom to task graph (#4230)
* Intial attempt to convert the Atom/RHI/FrameScheduler to use the new TaskGraph api

Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>

* Avoid enqueuing work on the active task thread if the submitted task
graph is waitable

When submitting a task graph, supplying a wait event implies that
dependent jobs must occur on threads that do not wait on the event (in
the absence of work stealing). This change prevents this by adding a
notion of a task thread enable/disable state, and prohibiting dependent
jobs from being enqueued on waiting threads.

Signed-off-by: Jeremy Ong <jcong@amazon.com>

* Convert RPI/Scene to use TaskGraph pass 1, Culling jobs remain on the old system

Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>

* RemoveTask Graph changes from the FrameScheduler::ExecuteGroups, use old job system instead

Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>

* Per review, removing commented out code

Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>

* Cleanup debug code, & build fix

Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>

* Add a cvar & interface to query whether to use jobs or task graph

Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>

* Make TaskGraph assert if you try to wait inside a job

Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>

* Fix TaskTest SpawnSubgraph to account for the new TaskGraphEvent assert on wait in a running task

Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>

* 3 minor cleanups. 1) Events always store a ptr to their executor 2) Fix clang compile error 3) remove an early out.

Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>

* Fix double group end that was causing assert/crash plus misc minor diff's with development

Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>

* Fix deallocation failure on deactivation of the TaskGraphSystemComponent. Also make the system component account for multiple creation in Unit Tests.

Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>

* Update with PR feedback
1) Rename UseTaskGraph to IsTaskGraphActive & update related code
2) prefer TaskExecutor::SetInstance
3) add comments and remove commented out code

Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>

* Fix incorrect RTTI name for TaskGraphActiveInterface

Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>

* Move TaskGraphSystemComponent CRC calculation to a shared variable

Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>

Co-authored-by: Jeremy Ong <jcong@amazon.com>
4 years ago
..
AWSClientAuth Removed ununeeded includes from EBus EBus.h and Policies.h (#4256) 4 years ago
AWSCore Removed ununeeded includes from EBus EBus.h and Policies.h (#4256) 4 years ago
AWSGameLift Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
AWSMetrics [AWSMetrics][cdk] Add the athena work group as a dependency of named queries (#4354) 4 years ago
Achievements Initial gem dependencies (#4229) 4 years ago
AssetMemoryAnalyzer Removed ununeeded includes from EBus EBus.h and Policies.h (#4256) 4 years ago
AssetValidation Initial gem dependencies (#4229) 4 years ago
Atom convert atom to task graph (#4230) 4 years ago
AtomContent Initial gem dependencies (#4229) 4 years ago
AtomLyIntegration Merge pull request #4398 from aws-lumberyard-dev/Atom/amzn-tommy/ATOM-13339_RemoveModelAssetIdFixupFunction 4 years ago
AtomTressFX Removed all preview.png and references of preview.png in all Atom related gems. (#3664) 4 years ago
AudioEngineWwise Initial gem dependencies (#4229) 4 years ago
AudioSystem Initial gem dependencies (#4229) 4 years ago
BarrierInput Initial gem dependencies (#4229) 4 years ago
Blast Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
Camera Initial gem dependencies (#4229) 4 years ago
CameraFramework Initial gem dependencies (#4229) 4 years ago
CertificateManager Initial gem dependencies (#4229) 4 years ago
CrashReporting Initial gem dependencies (#4229) 4 years ago
CustomAssetExample Initial gem dependencies (#4229) 4 years ago
DebugDraw Initial gem dependencies (#4229) 4 years ago
DevTextures Initial gem dependencies (#4229) 4 years ago
EMotionFX Animation Editor: Creating Motion Sets does not increment them correctly (#4368) 4 years ago
EditorPythonBindings Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
ExpressionEvaluation Initial gem dependencies (#4229) 4 years ago
FastNoise Initial gem dependencies (#4229) 4 years ago
GameState Initial gem dependencies (#4229) 4 years ago
GameStateSamples Initial gem dependencies (#4229) 4 years ago
Gestures Initial gem dependencies (#4229) 4 years ago
GradientSignal Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
GraphCanvas Removed ununeeded includes from EBus EBus.h and Policies.h (#4256) 4 years ago
GraphModel Initial gem dependencies (#4229) 4 years ago
HttpRequestor Initial gem dependencies (#4229) 4 years ago
ImGui Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
InAppPurchases Initial gem dependencies (#4229) 4 years ago
LandscapeCanvas Initial gem dependencies (#4229) 4 years ago
LmbrCentral Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
LocalUser Initial gem dependencies (#4229) 4 years ago
LyShine Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
LyShineExamples Initial gem dependencies (#4229) 4 years ago
Maestro Initial gem dependencies (#4229) 4 years ago
MessagePopup Initial gem dependencies (#4229) 4 years ago
Metastream Initial gem dependencies (#4229) 4 years ago
Microphone Initial gem dependencies (#4229) 4 years ago
Multiplayer Added missing EntityId.h include to FocusModeInterface.h (#4396) 4 years ago
MultiplayerCompression Initial gem dependencies (#4229) 4 years ago
NvCloth Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
PBSreferenceMaterials Initial gem dependencies (#4229) 4 years ago
PhysX update joints to use cluster viewport ui. (#4352) 4 years ago
PhysXDebug Initial gem dependencies (#4229) 4 years ago
PhysXSamples Initial gem dependencies (#4229) 4 years ago
Prefab Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
Presence Initial gem dependencies (#4229) 4 years ago
PrimitiveAssets Initial gem dependencies (#4229) 4 years ago
PythonAssetBuilder Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
QtForPython Initial gem dependencies (#4229) 4 years ago
SaveData Initial gem dependencies (#4229) 4 years ago
SceneLoggingExample Initial gem dependencies (#4229) 4 years ago
SceneProcessing Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
ScriptCanvas Merge branch 'development' of https://github.com/o3de/o3de into carlitosan/bugfix 4 years ago
ScriptCanvasDeveloper Removed ununeeded includes from EBus EBus.h and Policies.h (#4256) 4 years ago
ScriptCanvasPhysics Initial gem dependencies (#4229) 4 years ago
ScriptCanvasTesting Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
ScriptEvents Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
ScriptedEntityTweener Initial gem dependencies (#4229) 4 years ago
SliceFavorites Initial gem dependencies (#4229) 4 years ago
StartingPointCamera Initial gem dependencies (#4229) 4 years ago
StartingPointInput Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
StartingPointMovement Initial gem dependencies (#4229) 4 years ago
SurfaceData Initial gem dependencies (#4229) 4 years ago
Terrain Terrain feature processor improvements regarding material, mesh, and lod (#4303) 4 years ago
TestAssetBuilder Initial gem dependencies (#4229) 4 years ago
TextureAtlas Initial gem dependencies (#4229) 4 years ago
TickBusOrderViewer Initial gem dependencies (#4229) 4 years ago
Twitch Initial gem dependencies (#4229) 4 years ago
UiBasics Initial gem dependencies (#4229) 4 years ago
Vegetation Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
VideoPlaybackFramework Initial gem dependencies (#4229) 4 years ago
VirtualGamepad Initial gem dependencies (#4229) 4 years ago
WhiteBox Cleanup SerializeContext.h pt.1 (#4264) 4 years ago