00001 #region --- License ---
00002
00003
00004
00005
00006
00007 #endregion
00008
00009 using System;
00010 using System.Collections.Generic;
00011 using System.Text;
00012
00013 using OpenTK.Platform;
00014
00015 namespace OpenTK.Graphics
00016 {
00020 public interface IGraphicsContext : IDisposable
00021 {
00023 void SwapBuffers();
00024
00031 void MakeCurrent(IWindowInfo window);
00032
00036 bool IsCurrent { get; }
00037
00042 bool IsDisposed { get; }
00043
00047 bool VSync { get; set; }
00048
00054 void Update(IWindowInfo window);
00055
00057 GraphicsMode GraphicsMode { get; }
00058
00066 bool ErrorChecking { get; set; }
00067 }
00068
00069
00070
00071
00075 public interface IGraphicsContextInternal
00076 {
00080 IGraphicsContext Implementation { get; }
00081
00085 void LoadAll();
00086
00090 ContextHandle Context { get; }
00091
00100 IntPtr GetAddress(string function);
00101 }
00102 }