com.badlogic.gdx.backends.android.surfaceview
Interface GLSurfaceViewAPI18.EGLContextFactory

Enclosing class:
GLSurfaceViewAPI18

public static interface GLSurfaceViewAPI18.EGLContextFactory

An interface for customizing the eglCreateContext and eglDestroyContext calls.

This interface must be implemented by clients wishing to call GLSurfaceView#setEGLContextFactory(EGLContextFactory)


Method Summary
 javax.microedition.khronos.egl.EGLContext createContext(javax.microedition.khronos.egl.EGL10 egl, javax.microedition.khronos.egl.EGLDisplay display, javax.microedition.khronos.egl.EGLConfig eglConfig)
           
 void destroyContext(javax.microedition.khronos.egl.EGL10 egl, javax.microedition.khronos.egl.EGLDisplay display, javax.microedition.khronos.egl.EGLContext context)
           
 

Method Detail

createContext

javax.microedition.khronos.egl.EGLContext createContext(javax.microedition.khronos.egl.EGL10 egl,
                                                        javax.microedition.khronos.egl.EGLDisplay display,
                                                        javax.microedition.khronos.egl.EGLConfig eglConfig)

destroyContext

void destroyContext(javax.microedition.khronos.egl.EGL10 egl,
                    javax.microedition.khronos.egl.EGLDisplay display,
                    javax.microedition.khronos.egl.EGLContext context)


Copyright © 2013. All Rights Reserved.