C# Class Axiom.RenderSystems.OpenGLES.Android.AndroidSupport

Inheritance: GLESSupport
Show file Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Property Type Description
_glDisplay Javax.Microedition.Khronos.Egl.EGLDisplay
_isExternalDisplay bool
_nativeDislpay Java.Lang.Object
_randr bool

Public Methods

Method Description
AddConfig ( ) : void
AndroidSupport ( ) : System

ChooseGLConfig ( int attribList, int elements ) : Javax.Microedition.Khronos.Egl.EGLConfig[]

CreateNewContext ( Javax.Microedition.Khronos.Egl.EGLDisplay eglDisplay, Javax.Microedition.Khronos.Egl.EGLConfig glConfig, Javax.Microedition.Khronos.Egl.EGLContext shareList ) : Javax.Microedition.Khronos.Egl.EGLContext

CreatePixelBuffer ( Media ctype, int width, int height ) : GLESPBuffer
CreateWindow ( bool autoCreateWindow, GLESRenderSystem renderSystem, string windowTitle ) : Axiom.Graphics.RenderWindow

GetConfigFromDrawable ( Javax.Microedition.Khronos.Egl.EGLSurface drawable, int width, int height ) : Javax.Microedition.Khronos.Egl.EGLConfig
GetGLConfigAttrib ( Javax.Microedition.Khronos.Egl.EGLConfig glConfig, int attribute, int value ) : bool

GetGLConfigFromContext ( Javax.Microedition.Khronos.Egl.EGLContext context ) : Javax.Microedition.Khronos.Egl.EGLConfig

GetProcAddress ( string procname ) : IntPtr

NewWindow ( string name, int width, int height, bool fullScreen, Collections miscParams = null ) : Graphics.RenderWindow
SetConfigOption ( string name, string value ) : void

Start ( ) : void

Stop ( ) : void

ValidateConfig ( ) : string

Protected Methods

Method Description
RefreshConfig ( ) : void

Method Details

AddConfig() public method

public AddConfig ( ) : void
return void

AndroidSupport() public method

public AndroidSupport ( ) : System
return System

ChooseGLConfig() public method

public ChooseGLConfig ( int attribList, int elements ) : Javax.Microedition.Khronos.Egl.EGLConfig[]
attribList int
elements int
return Javax.Microedition.Khronos.Egl.EGLConfig[]

CreateNewContext() public method

public CreateNewContext ( Javax.Microedition.Khronos.Egl.EGLDisplay eglDisplay, Javax.Microedition.Khronos.Egl.EGLConfig glConfig, Javax.Microedition.Khronos.Egl.EGLContext shareList ) : Javax.Microedition.Khronos.Egl.EGLContext
eglDisplay Javax.Microedition.Khronos.Egl.EGLDisplay
glConfig Javax.Microedition.Khronos.Egl.EGLConfig
shareList Javax.Microedition.Khronos.Egl.EGLContext
return Javax.Microedition.Khronos.Egl.EGLContext

CreatePixelBuffer() public method

public CreatePixelBuffer ( Media ctype, int width, int height ) : GLESPBuffer
ctype Media
width int
height int
return GLESPBuffer

CreateWindow() public method

public CreateWindow ( bool autoCreateWindow, GLESRenderSystem renderSystem, string windowTitle ) : Axiom.Graphics.RenderWindow
autoCreateWindow bool
renderSystem GLESRenderSystem
windowTitle string
return Axiom.Graphics.RenderWindow

GetConfigFromDrawable() public method

public GetConfigFromDrawable ( Javax.Microedition.Khronos.Egl.EGLSurface drawable, int width, int height ) : Javax.Microedition.Khronos.Egl.EGLConfig
drawable Javax.Microedition.Khronos.Egl.EGLSurface
width int
height int
return Javax.Microedition.Khronos.Egl.EGLConfig

GetGLConfigAttrib() public method

public GetGLConfigAttrib ( Javax.Microedition.Khronos.Egl.EGLConfig glConfig, int attribute, int value ) : bool
glConfig Javax.Microedition.Khronos.Egl.EGLConfig
attribute int
value int
return bool

GetGLConfigFromContext() public method

public GetGLConfigFromContext ( Javax.Microedition.Khronos.Egl.EGLContext context ) : Javax.Microedition.Khronos.Egl.EGLConfig
context Javax.Microedition.Khronos.Egl.EGLContext
return Javax.Microedition.Khronos.Egl.EGLConfig

GetProcAddress() public method

public GetProcAddress ( string procname ) : IntPtr
procname string
return System.IntPtr

NewWindow() public method

public NewWindow ( string name, int width, int height, bool fullScreen, Collections miscParams = null ) : Graphics.RenderWindow
name string
width int
height int
fullScreen bool
miscParams Collections
return Graphics.RenderWindow

RefreshConfig() protected method

protected RefreshConfig ( ) : void
return void

SetConfigOption() public method

public SetConfigOption ( string name, string value ) : void
name string
value string
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

ValidateConfig() public method

public ValidateConfig ( ) : string
return string

Property Details

_glDisplay protected property

protected EGLDisplay,Javax.Microedition.Khronos.Egl _glDisplay
return Javax.Microedition.Khronos.Egl.EGLDisplay

_isExternalDisplay protected property

protected bool _isExternalDisplay
return bool

_nativeDislpay protected property

protected Java.Lang.Object _nativeDislpay
return Java.Lang.Object

_randr protected property

protected bool _randr
return bool