Android APIs
Added in API level 5
public static interface

GLSurfaceView.EGLContextFactory

android.opengl.GLSurfaceView.EGLContextFactory

Class Overview

An interface for customizing the eglCreateContext and eglDestroyContext calls.

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

Summary

Public Methods
abstract EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig)
abstract void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context)

Public Methods

public abstract EGLContext createContext (EGL10 egl, EGLDisplay display, EGLConfig eglConfig)

Added in API level 5

Parameters
egl
display
eglConfig
Returns
EGLContext

public abstract void destroyContext (EGL10 egl, EGLDisplay display, EGLContext context)

Added in API level 5

Parameters
egl
display
context