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