to top
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

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

? Examples
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

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

Added in API level 5

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.