2009-09-03 19:01:11 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Reflection;
|
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
|
|
|
|
namespace OpenTK.Graphics.ES11
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Provides access to OpenGL ES 1.1 methods.
|
|
|
|
|
/// </summary>
|
2009-11-17 10:04:00 +00:00
|
|
|
|
|
|
|
|
|
public sealed partial class GL : GraphicsBindingsBase
|
2009-09-03 19:01:11 +00:00
|
|
|
|
{
|
2013-10-13 23:00:18 +00:00
|
|
|
|
const string Library = "GLESv1_CM";
|
2009-11-03 23:26:57 +00:00
|
|
|
|
static readonly object sync_root = new object();
|
|
|
|
|
|
2013-11-24 12:58:30 +00:00
|
|
|
|
static IntPtr[] EntryPoints;
|
|
|
|
|
static string[] EntryPointNames;
|
|
|
|
|
|
|
|
|
|
#region Constructors
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Constructs a new instance.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public GL()
|
|
|
|
|
{
|
|
|
|
|
EntryPointsInstance = EntryPoints;
|
|
|
|
|
EntryPointNamesInstance = EntryPointNames;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
2009-11-03 23:26:57 +00:00
|
|
|
|
#region --- Protected Members ---
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Returns a synchronization token unique for the GL class.
|
|
|
|
|
/// </summary>
|
|
|
|
|
protected override object SyncRoot
|
|
|
|
|
{
|
|
|
|
|
get { return sync_root; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
2009-09-03 19:01:11 +00:00
|
|
|
|
}
|
|
|
|
|
}
|