Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
Added in API level 5
public static interface

GLSurfaceView.EGLWindowSurfaceFactory

android.opengl.GLSurfaceView.EGLWindowSurfaceFactory

Class Overview

An interface for customizing the eglCreateWindowSurface and eglDestroySurface calls.

This interface must be implemented by clients wishing to call setEGLWindowSurfaceFactory(EGLWindowSurfaceFactory)

Summary

Public Methods
abstract EGLSurface createWindowSurface ( EGL10 egl, EGLDisplay display, EGLConfig config, Object nativeWindow)
abstract void destroySurface ( EGL10 egl, EGLDisplay display, EGLSurface surface)

Public Methods

public abstract EGLSurface createWindowSurface ( EGL10 egl, EGLDisplay display, EGLConfig config, Object nativeWindow)

Added in API level 5

Returns
  • null if the surface cannot be constructed.

public abstract void destroySurface ( EGL10 egl, EGLDisplay display, EGLSurface surface)

Added in API level 5