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