webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Member Functions | List of all members
org.webrtc.EglBase10 Class Reference
Inheritance diagram for org.webrtc.EglBase10:
org.webrtc.EglBase

Classes

class  Context
 

Public Member Functions

 EglBase10 (Context sharedContext, int[] configAttributes)
 
void createSurface (Surface surface)
 
void createSurface (SurfaceTexture surfaceTexture)
 
void createDummyPbufferSurface ()
 
void createPbufferSurface (int width, int height)
 
org.webrtc.EglBase.Context getEglBaseContext ()
 
boolean hasSurface ()
 
int surfaceWidth ()
 
int surfaceHeight ()
 
void releaseSurface ()
 
void release ()
 
void makeCurrent ()
 
void detachCurrent ()
 
void swapBuffers ()
 
- Public Member Functions inherited from org.webrtc.EglBase
abstract void createSurface (Surface surface)
 
abstract void createSurface (SurfaceTexture surfaceTexture)
 
abstract void createDummyPbufferSurface ()
 
abstract void createPbufferSurface (int width, int height)
 
abstract Context getEglBaseContext ()
 
abstract boolean hasSurface ()
 
abstract int surfaceWidth ()
 
abstract int surfaceHeight ()
 
abstract void releaseSurface ()
 
abstract void release ()
 
abstract void makeCurrent ()
 
abstract void detachCurrent ()
 
abstract void swapBuffers ()
 

Additional Inherited Members

- Static Public Member Functions inherited from org.webrtc.EglBase
static EglBase create (Context sharedContext, int[] configAttributes)
 
static EglBase create ()
 
static EglBase create (Context sharedContext)
 
- Static Public Attributes inherited from org.webrtc.EglBase
static final Object lock = new Object()
 
static final int [] CONFIG_PLAIN
 
static final int [] CONFIG_RGBA
 
static final int [] CONFIG_PIXEL_BUFFER
 
static final int [] CONFIG_PIXEL_RGBA_BUFFER
 
static final int [] CONFIG_RECORDABLE
 

Detailed Description

Holds EGL state and utility methods for handling an egl 1.0 EGLContext, an EGLDisplay, and an EGLSurface.

Constructor & Destructor Documentation

◆ EglBase10()

org.webrtc.EglBase10.EglBase10 ( Context  sharedContext,
int []  configAttributes 
)
inline

Member Function Documentation

◆ createDummyPbufferSurface()

void org.webrtc.EglBase10.createDummyPbufferSurface ( )
inline

◆ createPbufferSurface()

void org.webrtc.EglBase10.createPbufferSurface ( int  width,
int  height 
)
inline

◆ createSurface() [1/2]

void org.webrtc.EglBase10.createSurface ( Surface  surface)
inline

We have to wrap Surface in a SurfaceHolder because for some reason eglCreateWindowSurface couldn't actually take a Surface object until API 17. Older versions fortunately just call SurfaceHolder.getSurface(), so we'll do that. No other methods are relevant.

◆ createSurface() [2/2]

void org.webrtc.EglBase10.createSurface ( SurfaceTexture  surfaceTexture)
inline

◆ detachCurrent()

void org.webrtc.EglBase10.detachCurrent ( )
inline

◆ getEglBaseContext()

org.webrtc.EglBase.Context org.webrtc.EglBase10.getEglBaseContext ( )
inline

◆ hasSurface()

boolean org.webrtc.EglBase10.hasSurface ( )
inline

◆ makeCurrent()

void org.webrtc.EglBase10.makeCurrent ( )
inline

◆ release()

void org.webrtc.EglBase10.release ( )
inline

◆ releaseSurface()

void org.webrtc.EglBase10.releaseSurface ( )
inline

◆ surfaceHeight()

int org.webrtc.EglBase10.surfaceHeight ( )
inline

◆ surfaceWidth()

int org.webrtc.EglBase10.surfaceWidth ( )
inline

◆ swapBuffers()

void org.webrtc.EglBase10.swapBuffers ( )
inline

The documentation for this class was generated from the following file: