2018-08-10 00:09:40 -04:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Ryujinx.Graphics.Gal
|
|
|
|
|
{
|
|
|
|
|
public interface IGalConstBuffer
|
|
|
|
|
{
|
|
|
|
|
void LockCache();
|
|
|
|
|
void UnlockCache();
|
|
|
|
|
|
2019-03-03 20:45:25 -05:00
|
|
|
|
void Create(long key, long size);
|
2018-08-10 00:09:40 -04:00
|
|
|
|
|
2019-03-03 20:45:25 -05:00
|
|
|
|
bool IsCached(long key, long size);
|
2018-08-10 00:09:40 -04:00
|
|
|
|
|
2019-03-03 20:45:25 -05:00
|
|
|
|
void SetData(long key, long size, IntPtr hostAddress);
|
|
|
|
|
void SetData(long key, byte[] data);
|
2018-08-10 00:09:40 -04:00
|
|
|
|
}
|
|
|
|
|
}
|