mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-08 07:42:33 -07:00
Cleanup Pipeline
Housekeeping More housekeeping
This commit is contained in:
committed by
Isaac Marovitz
parent
30b50a99e4
commit
b1928461bb
@@ -5,7 +5,7 @@ using System.Threading;
|
||||
|
||||
namespace Ryujinx.Graphics.Metal
|
||||
{
|
||||
public interface IAuto
|
||||
interface IAuto
|
||||
{
|
||||
bool HasCommandBufferDependency(CommandBufferScoped cbs);
|
||||
|
||||
@@ -14,13 +14,13 @@ namespace Ryujinx.Graphics.Metal
|
||||
void DecrementReferenceCount();
|
||||
}
|
||||
|
||||
public interface IAutoPrivate : IAuto
|
||||
interface IAutoPrivate : IAuto
|
||||
{
|
||||
void AddCommandBufferDependencies(CommandBufferScoped cbs);
|
||||
}
|
||||
|
||||
[SupportedOSPlatform("macos")]
|
||||
public class Auto<T> : IAutoPrivate, IDisposable where T : IDisposable
|
||||
class Auto<T> : IAutoPrivate, IDisposable where T : IDisposable
|
||||
{
|
||||
private int _referenceCount;
|
||||
private T _value;
|
||||
|
Reference in New Issue
Block a user