Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to CommunityToolkit.HighPerformance #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion BCnEnc.Net/BCnEncoder.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Supported formats are:
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Toolkit.HighPerformance" Version="7.1.2" />
<PackageReference Include="CommunityToolkit.HighPerformance" Version="8.0.0" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Latest is now 8.2

<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion BCnEnc.Net/Decoder/BcDecoder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Threading;
using System.Threading.Tasks;
using BCnEncoder.Shared.ImageFiles;
using Microsoft.Toolkit.HighPerformance;
using CommunityToolkit.HighPerformance;

namespace BCnEncoder.Decoder
{
Expand Down
2 changes: 1 addition & 1 deletion BCnEnc.Net/Encoder/BcEncoder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using BCnEncoder.Encoder.Options;
using BCnEncoder.Shared;
using BCnEncoder.Shared.ImageFiles;
using Microsoft.Toolkit.HighPerformance;
using CommunityToolkit.HighPerformance;

namespace BCnEncoder.Encoder
{
Expand Down
2 changes: 1 addition & 1 deletion BCnEnc.Net/Shared/HdrImage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using Microsoft.Toolkit.HighPerformance;
using CommunityToolkit.HighPerformance;

namespace BCnEncoder.Shared
{
Expand Down
2 changes: 1 addition & 1 deletion BCnEnc.Net/Shared/ImageToBlocks.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Microsoft.Toolkit.HighPerformance;
using CommunityToolkit.HighPerformance;

namespace BCnEncoder.Shared
{
Expand Down
2 changes: 1 addition & 1 deletion BCnEnc.Net/Shared/MipMapper.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System;
using Microsoft.Toolkit.HighPerformance;
using CommunityToolkit.HighPerformance;

namespace BCnEncoder.Shared
{
Expand Down
2 changes: 1 addition & 1 deletion BCnEncTests/Bc6EncoderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using BCnEncoder.Encoder.Bptc;
using BCnEncoder.Shared;
using BCnEncTests.Support;
using Microsoft.Toolkit.HighPerformance;
using CommunityToolkit.HighPerformance;
using Xunit;
using Xunit.Abstractions;

Expand Down
2 changes: 1 addition & 1 deletion BCnEncTests/Bc6HDecoderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using BCnEncoder.Encoder;
using BCnEncoder.Shared;
using BCnEncTests.Support;
using Microsoft.Toolkit.HighPerformance;
using CommunityToolkit.HighPerformance;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;
using Xunit;
Expand Down
2 changes: 1 addition & 1 deletion BCnEncTests/BlockTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;
using BCnEncoder.Shared;
using Microsoft.Toolkit.HighPerformance;
using CommunityToolkit.HighPerformance;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;
using Xunit;
Expand Down
2 changes: 1 addition & 1 deletion BCnEncTests/Examples.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using BCnEncoder.Encoder;
using BCnEncoder.ImageSharp;
using BCnEncoder.Shared;
using Microsoft.Toolkit.HighPerformance;
using CommunityToolkit.HighPerformance;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;
using Xunit;
Expand Down
2 changes: 1 addition & 1 deletion BCnEncTests/SingleBlockTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using BCnEncoder.Encoder;
using BCnEncoder.Shared;
using BCnEncTests.Support;
using Microsoft.Toolkit.HighPerformance;
using CommunityToolkit.HighPerformance;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.PixelFormats;
using Xunit;
Expand Down
2 changes: 1 addition & 1 deletion BCnEncTests/Support/TestHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using BCnEncoder.ImageSharp;
using BCnEncoder.Shared;
using BCnEncoder.Shared.ImageFiles;
using Microsoft.Toolkit.HighPerformance;
using CommunityToolkit.HighPerformance;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;
using Xunit;
Expand Down
2 changes: 1 addition & 1 deletion BCnEncoder.NET.ImageSharp/BCnDecoderExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using BCnEncoder.Decoder;
using BCnEncoder.Shared;
using BCnEncoder.Shared.ImageFiles;
using Microsoft.Toolkit.HighPerformance;
using CommunityToolkit.HighPerformance;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.PixelFormats;
Expand Down
3 changes: 1 addition & 2 deletions BCnEncoder.NET.ImageSharp/BCnEncoder.NET.ImageSharp.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
Expand Down Expand Up @@ -27,7 +27,6 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="SixLabors.ImageSharp" Version="2.0.0" />
<PackageReference Include="Microsoft.Toolkit.HighPerformance" Version="7.1.2" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion BCnEncoder.NET.ImageSharp/BCnEncoderExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using BCnEncoder.Encoder;
using BCnEncoder.Shared;
using BCnEncoder.Shared.ImageFiles;
using Microsoft.Toolkit.HighPerformance;
using CommunityToolkit.HighPerformance;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.PixelFormats;
Expand Down