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/Framework/AzFramework/Tests
amzn-sj 5dc442fcb0
[Terrain] First pass of the ProcessList and ProcessRegion APIs for retrieving surface data (#6729)
* [Terrain] First pass of the ProcessList and ProcessRegion APIs for retrieving surface data

Signed-off-by: amzn-sj <srikkant@amazon.com>

* Add a couple of more tests. The expected values were plugged in based on the values generated by the brute force approach.

Signed-off-by: amzn-sj <srikkant@amazon.com>

* Move some declarations out of loops since they can be reused.

Signed-off-by: amzn-sj <srikkant@amazon.com>

* Update all the per position callbacks to pass SurfacePoint refs. Construct only one SurfacePoint object outside the loop which can be reused.

Signed-off-by: amzn-sj <srikkant@amazon.com>

* Update tests to use the new per position callbacks

Signed-off-by: amzn-sj <srikkant@amazon.com>

* Add ProcessRegion functions to the terrain benchmark.

Signed-off-by: amzn-sj <srikkant@amazon.com>

* Change C style static casts to aznumeric_cast. Add maybe_unused to unused params in benchmarks.

Signed-off-by: amzn-sj <srikkant@amazon.com>

* Update the ProcessList API functions to use array_view instead of a vector. This includes some additional changes to satisfy build dependencies.

Signed-off-by: amzn-sj <srikkant@amazon.com>

* Add ProcessList API functions to benchmarks

Signed-off-by: amzn-sj <srikkant@amazon.com>

* Update the ProcessList API functions to take Vector2 as input positions

Signed-off-by: amzn-sj <srikkant@amazon.com>

* Revert changes to AtomCore library split. Add partial implementation of span(mostly just copied over from array_view) to AzCore std containers.

Signed-off-by: amzn-sj <srikkant@amazon.com>

* Adding some const/non-const overloads that were missing in span

Signed-off-by: amzn-sj <srikkant@amazon.com>

* Move input position list generation to a function

Signed-off-by: amzn-sj <srikkant@amazon.com>

* Bring back Vector3 version of ProcessList functions. Rename Vector2 version to follow similar pattern as the Get functions.

Signed-off-by: amzn-sj <srikkant@amazon.com>

* Split span.h into .h/.inl files

Signed-off-by: amzn-sj <srikkant@amazon.com>

* Add [mayby_unused] for unused parameters to fix build errors

Signed-off-by: amzn-sj <srikkant@amazon.com>
4 years ago
..
Mocks [Terrain] First pass of the ProcessList and ProcessRegion APIs for retrieving surface data (#6729) 4 years ago
Platform Removes some leftover log 4 years ago
Spawnable Minor updates to the Spawnable Entity Aliases in response to PR feedback. 4 years ago
Utils Fixes for viewport selection issues (#5494) 4 years ago
Application.cpp Update the FileIO Aliases (#4186) 4 years ago
ArchiveCompressionTests.cpp Update how Project Filepaths are calculated when not supplied via command line (#5194) 4 years ago
ArchiveTests.cpp Add support for configuring default Archive File Search Mode through a Cache Var (#5668) 4 years ago
AssetCatalog.cpp Update how Project Filepaths are calculated when not supplied via command line (#5194) 4 years ago
AssetProcessorConnection.cpp Remove unused traits that disabled certain failed unit tests 4 years ago
BehaviorEntityTests.cpp Modernization + AZStd::function compare fix. (#3680) 4 years ago
BinToTextEncode.cpp Fixes test in AzFramework 4 years ago
CameraInputTests.cpp Fixes for `CameraInput` handling (#6425) 4 years ago
CameraState.cpp Fixes for viewport selection issues (#5494) 4 years ago
ClickDetectorTests.cpp Improvement for click detection when clicking quickly between mouse moves (#5786) 4 years ago
CursorStateTests.cpp Fixes for viewport selection issues (#5494) 4 years ago
EntityContext.cpp Removes m_enableDrilling 4 years ago
FileIO.cpp Update the FileIO Aliases (#4186) 4 years ago
FileTagTests.cpp Removes m_enableDrilling 4 years ago
FrameworkApplicationFixture.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
GenAppDescriptors.cpp Update the FileIO Aliases (#4186) 4 years ago
InputTests.cpp Removed trait AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS 4 years ago
Main.cpp Add a unit test for `XcbInputDeviceKeyboard` (#4393) 4 years ago
NativeWindow.cpp Modernization + AZStd::function compare fix. (#3680) 4 years ago
OctreePerformanceTests.cpp fixes AzFramework 4 years ago
OctreeTests.cpp Code/Framework compiling 5 years ago
PlatformHelper.cpp Add linux equivalents for all the places that enumerate platforms (#3325) 4 years ago
ProcessLaunchMain.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ProcessLaunchParseTests.cpp Process launcher updates (#6183) 4 years ago
Scene.cpp Removes m_enableDrilling 4 years ago
framework_shared_tests_files.cmake Fixes for viewport selection issues (#5494) 4 years ago
frameworktests_files.cmake Added unit tests for spawnable entity aliases. 4 years ago
process_launch_test_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
terrain_mock_files.cmake Moved TerrainDataRquestBus to AzFrameworkTestShared (#5835) 4 years ago