C# Class OpenGLES.egl

Show file Open project: koush/OpenGLES

Public Methods

Method Description
CreateContext ( EGLDisplay dpy, EGLConfig config, EGLContext share_context, int attrib_list ) : EGLContext
CreatePbufferSurface ( EGLDisplay dpy, EGLConfig config, int attrib_list ) : EGLSurface
CreateWindowSurface ( EGLDisplay dpy, EGLConfig config, IntPtr win, int attrib_list ) : EGLSurface
GetDisplay ( EGLNativeDisplayType display_id ) : EGLDisplay

Private Methods

Method Description
BindAPI ( int api ) : bool
BindTexImage ( EGLDisplay dpy, EGLSurface surface, int buffer ) : bool
ChooseConfig ( EGLDisplay dpy, int attrib_list, EGLConfig configs, int config_size, int &num_config ) : bool
CopyBuffers ( EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target ) : bool
CreatePbufferFromClientBuffer ( EGLDisplay dpy, int buftype, EGLClientBuffer buffer, EGLConfig config, int attrib_list ) : EGLSurface
CreatePixmapSurface ( EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, int attrib_list ) : EGLSurface
DestroyContext ( EGLDisplay dpy, EGLContext ctx ) : bool
DestroySurface ( EGLDisplay dpy, EGLSurface surface ) : bool
GetConfigAttrib ( EGLDisplay dpy, EGLConfig config, int attribute, int &value ) : bool
GetConfigs ( EGLDisplay dpy, EGLConfig configs, int config_size, int &num_config ) : bool
GetCurrentContext ( ) : EGLContext
GetCurrentDisplay ( ) : EGLDisplay
GetCurrentSurface ( int readdraw ) : EGLSurface
GetError ( ) : int
Initialize ( EGLDisplay dpy, int &major, int &minor ) : bool
MakeCurrent ( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx ) : bool
QueryAPI ( ) : int
QueryContext ( EGLDisplay dpy, EGLContext ctx, int attribute, int &value ) : bool
QueryString ( EGLDisplay dpy, int name ) : IntPtr
QuerySurface ( EGLDisplay dpy, EGLSurface surface, int attribute, int &value ) : bool
ReleaseTexImage ( EGLDisplay dpy, EGLSurface surface, int buffer ) : bool
ReleaseThread ( ) : bool
SurfaceAttrib ( EGLDisplay dpy, EGLSurface surface, int attribute, int value ) : bool
SwapBuffers ( EGLDisplay dpy, EGLSurface surface ) : bool
SwapInterval ( EGLDisplay dpy, int interval ) : bool
Terminate ( EGLDisplay dpy ) : bool
WaitClient ( ) : bool
WaitGL ( ) : bool
WaitNative ( int engine ) : bool
eglCreateContext ( EGLDisplay dpy, EGLConfig config, EGLContext share_context, int attrib_list ) : IntPtr
eglCreatePbufferSurface ( EGLDisplay dpy, EGLConfig config, int attrib_list ) : IntPtr
eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, IntPtr win, int attrib_list ) : IntPtr
eglGetDisplay ( EGLNativeDisplayType display_id ) : IntPtr

Method Details

CreateContext() public static method

public static CreateContext ( EGLDisplay dpy, EGLConfig config, EGLContext share_context, int attrib_list ) : EGLContext
dpy EGLDisplay
config EGLConfig
share_context EGLContext
attrib_list int
return EGLContext

CreatePbufferSurface() public static method

public static CreatePbufferSurface ( EGLDisplay dpy, EGLConfig config, int attrib_list ) : EGLSurface
dpy EGLDisplay
config EGLConfig
attrib_list int
return EGLSurface

CreateWindowSurface() public static method

public static CreateWindowSurface ( EGLDisplay dpy, EGLConfig config, IntPtr win, int attrib_list ) : EGLSurface
dpy EGLDisplay
config EGLConfig
win System.IntPtr
attrib_list int
return EGLSurface

GetDisplay() public static method

public static GetDisplay ( EGLNativeDisplayType display_id ) : EGLDisplay
display_id EGLNativeDisplayType
return EGLDisplay