using System;
using System.Windows.Forms;
namespace BizHawk.Bizware.BizwareGL
{
public interface IGraphicsControl : IDisposable
{
///
/// Sets whether presentation operations on this control will vsync
///
void SetVsync(bool state);
///
/// Swaps the buffers for this control
///
void SwapBuffers();
///
/// Makes this control current for rendering operations.
/// Note that at this time, the window size shouldnt change until End() or else something bad might happen
/// Please be aware that this might change the rendering context, meaning that some things you set without calling BeginControl/EndControl might not be affected
///
void Begin();
///
/// Ends rendering on the specified control.
///
void End();
}
}