2013-11-04 01:39:19 +00:00
|
|
|
|
namespace BizHawk.Emulation.Common
|
|
|
|
|
{
|
2015-01-14 22:58:14 +00:00
|
|
|
|
public interface IVideoProvider : IEmulatorService
|
2013-11-04 01:39:19 +00:00
|
|
|
|
{
|
|
|
|
|
int[] GetVideoBuffer();
|
|
|
|
|
|
2014-04-30 23:48:37 +00:00
|
|
|
|
// put together, these describe a metric on the screen
|
|
|
|
|
// they should define the smallest size that the buffer can be placed inside such that:
|
|
|
|
|
// 1. no actual pixel data is lost
|
|
|
|
|
// 2. aspect ratio is accurate
|
|
|
|
|
int VirtualWidth { get; }
|
|
|
|
|
int VirtualHeight { get; }
|
2013-11-04 01:39:19 +00:00
|
|
|
|
|
|
|
|
|
int BufferWidth { get; }
|
|
|
|
|
int BufferHeight { get; }
|
|
|
|
|
int BackgroundColor { get; }
|
|
|
|
|
}
|
|
|
|
|
}
|