mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 18:45:32 +00:00
48 lines
1 KiB
C#
48 lines
1 KiB
C#
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>
|
|
|
|
public sealed partial class GL : GraphicsBindingsBase
|
|
{
|
|
const string Library = "GLESv1_CM";
|
|
static readonly object sync_root = new object();
|
|
|
|
static IntPtr[] EntryPoints;
|
|
static string[] EntryPointNames;
|
|
|
|
#region Constructors
|
|
|
|
/// <summary>
|
|
/// Constructs a new instance.
|
|
/// </summary>
|
|
public GL()
|
|
{
|
|
EntryPointsInstance = EntryPoints;
|
|
EntryPointNamesInstance = EntryPointNames;
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region --- Protected Members ---
|
|
|
|
/// <summary>
|
|
/// Returns a synchronization token unique for the GL class.
|
|
/// </summary>
|
|
protected override object SyncRoot
|
|
{
|
|
get { return sync_root; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
}
|