-
Notifications
You must be signed in to change notification settings - Fork 508
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial DrawTexture support & Advanced Present * TODO: Get Scissors Working * Chnage scissor state management * Rebase problems… * Rebase fixes again * Update DrawTexture + Fix Topology * Fix flipping * Add clear action support * Cleanup
- Loading branch information
1 parent
6cc4d46
commit f7941a0
Showing
8 changed files
with
358 additions
and
63 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
src/Ryujinx.Graphics.Metal/Effects/IPostProcessingEffect.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using System; | ||
|
||
namespace Ryujinx.Graphics.Metal.Effects | ||
{ | ||
internal interface IPostProcessingEffect : IDisposable | ||
{ | ||
const int LocalGroupSize = 64; | ||
Texture Run(Texture view, int width, int height); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using Ryujinx.Graphics.GAL; | ||
using System; | ||
|
||
namespace Ryujinx.Graphics.Metal.Effects | ||
{ | ||
internal interface IScalingFilter : IDisposable | ||
{ | ||
float Level { get; set; } | ||
void Run( | ||
Texture view, | ||
Texture destinationTexture, | ||
Format format, | ||
int width, | ||
int height, | ||
Extents2D source, | ||
Extents2D destination); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.