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/AzToolsFramework/Tests
guthadam eeafb5eaa3 ATOM-15370 Fix thumbnail scaling and sizing issues
TLDR
Thumbnails size will be removed from the system.
Each thumbnail class is responsible for determining its stored size.
Images and other thumbnail types can be scaled up or down within reason without blurring.

The thumbnail system uses the concept of context and size organize thumbnails by size based on their intended use.  However, most of the thumbnail classes do not respect or use the specified size, which is 16 by 16 pixels and really only usable for small icons.

The thumbnails are currently being used in the asset browser tree control, the larger asset browser previews, the material component property asset controls, the material component inspector for the large preview, and other places.  Each of these places use completely different sizes, some of which are large and change dynamically. Whenever the thumbnails are painted they are scaled to the desired size.

Material and mesh thumbnails were always being captured at 512x512 regardless of what the rest of the thumbnail system said.  Source, product, and folder thumbnails would be stored at the original asset size.  The loading movie thumbnail was always drawn at 16 by 16 and scale up so it was always blurry.  Image thumbnails were always scaled down to 16 by 16 and scale up for larger previews.

Rather than worrying about the size of each context, each thumbnail class will store the image at whenever it deems to be a large enough size that can be scaled down when used.

This may eliminate the need for multiple thumbnail contexts which are not being used anyway.

https://jira.agscollab.com/browse/ATOM-15370
5 years ago
..
Entity [LYN-3272] Added missing call in unit test. 5 years ago
Prefab Integrating github/staging through commit b0dd7ed 5 years ago
SliceStabilityTests Integrating up through commit 90f050496 5 years ago
ToolsComponents Integrating up through commit 90f050496 5 years ago
UI Initial commit 5 years ago
Viewport Integrating github/staging through commit ab87ed9 5 years ago
Visibility Initial commit 5 years ago
ArchiveTests.cpp Integrating up through commit 90f050496 5 years ago
AssetFileInfoListComparison.cpp Integrating up through commit 90f050496 5 years ago
AssetSeedManager.cpp SPEC-6371 Change the asset_profile and test_profile steps to be no_unity so it doesnt recompile 5 years ago
AssetSystemMocks.h Initial commit 5 years ago
AssetUtils.cpp Integrating latest 47acbe8 5 years ago
ComponentModeTestDoubles.cpp Initial commit 5 years ago
ComponentModeTestDoubles.h Initial commit 5 years ago
ComponentModeTestFixture.cpp Initial commit 5 years ago
ComponentModeTestFixture.h Initial commit 5 years ago
ComponentModeTests.cpp Integrating github/staging through commit ab87ed9 5 years ago
EditorTransformComponentSelectionTests.cpp Integrating up through commit 90f050496 5 years ago
EditorVertexSelectionTests.cpp Initial commit 5 years ago
EntityIdQLabelTests.cpp Integrating up through commit 90f050496 5 years ago
EntityInspectorTests.cpp Integrating up through commit 90f050496 5 years ago
FingerprintingTests.cpp Add newlines to the end of all files 5 years ago
IntegerPrimtitiveTestConfig.h Initial commit 5 years ago
LogLines.cpp Initial commit 5 years ago
Main.cpp Integrating latest from github/staging 5 years ago
ManipulatorBoundsTests.cpp Initial commit 5 years ago
ManipulatorCoreTests.cpp Initial commit 5 years ago
ManipulatorViewTests.cpp Integrating up through commit 90f050496 5 years ago
PerforceComponentTests.cpp Initial commit 5 years ago
PlatformAddressedAssetCatalogTests.cpp Integrating up through commit 90f050496 5 years ago
PropertyIntCtrlCommonTests.cpp Initial commit 5 years ago
PropertyIntCtrlCommonTests.h Initial commit 5 years ago
PropertyIntSliderCtrlTests.cpp Initial commit 5 years ago
PropertyIntSpinCtrlTests.cpp Initial commit 5 years ago
PropertyTreeEditorTests.cpp Integrating up through commit 90f050496 5 years ago
PythonBindingTests.cpp Initial commit 5 years ago
QtWidgetLimitsTests.cpp Initial commit 5 years ago
Slice.cpp Integrating up through commit 90f050496 5 years ago
SliceUpgradeTests.cpp Integrating github/staging through commit ab87ed9 5 years ago
SliceUpgradeTestsData.h Initial commit 5 years ago
SpinBoxTests.cpp Initial commit 5 years ago
ThumbnailerTests.cpp ATOM-15370 Fix thumbnail scaling and sizing issues 5 years ago
UndoStack.cpp Add newlines to the end of all files 5 years ago
aztoolsframeworktests_files.cmake [LYN-2255] Refactored some EditorEntityHelpers so they can be re-used. 5 years ago