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/Atom/RPI/Code/Source/RPI.Reflect/Image
lumberyard-employee-dm b9824ed172
Updated all array_view uses with the C++20 span. (#7157)
* Updated all array_view uses with the C++20 span.

The updates were done in the following order
1. `AZStd::array_view<([^>].+)\* ?>`  -> `AZStd::span<\1 const>`
2. `AZStd::array_view<(?:const )(.+)>` -> `AZStd::span<const \1>`
3. `AZStd::array_view` -> `AZStd::span`

Removed the implementation of array_view.

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

* Added missing whitespace between `const` and the typename for spans.

Updated the ShaderTest comparison of the ShaderResourceGroupLayout span
to compare the sizes as well

Updated comments on some of the methods that stated that they return "an
array" to mention they return "a span".

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
4 years ago
..
AttachmentImageAsset.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
AttachmentImageAssetCreator.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
DefaultStreamingImageControllerAsset.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Image.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ImageAsset.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ImageMipChainAsset.cpp Updated all array_view uses with the C++20 span. (#7157) 4 years ago
ImageMipChainAssetCreator.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ImageSystemDescriptor.cpp ATOM-16237 Using setting registry to RPI system settings (#3663) 4 years ago
StreamingImageAsset.cpp Updated all array_view uses with the C++20 span. (#7157) 4 years ago
StreamingImageAssetCreator.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
StreamingImageAssetHandler.cpp Merge remote-tracking branch 'upstream/stabilization/2110' into Atom/santorac/MaterialEditorHandlesMissingTextures 4 years ago
StreamingImageControllerAsset.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
StreamingImagePoolAsset.cpp Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
StreamingImagePoolAssetCreator.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago