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

Classes

class  Context
 

Public Member Functions

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 ()
 

Static Public Member Functions

static EglBase create (Context sharedContext, int[] configAttributes)
 
static EglBase create ()
 
static EglBase create (Context sharedContext)
 

Static Public Attributes

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.

Member Function Documentation

◆ create() [1/3]

static EglBase org.webrtc.EglBase.create ( Context  sharedContext,
int []  configAttributes 
)
inlinestatic

◆ create() [2/3]

static EglBase org.webrtc.EglBase.create ( )
inlinestatic

◆ create() [3/3]

static EglBase org.webrtc.EglBase.create ( Context  sharedContext)
inlinestatic

◆ createDummyPbufferSurface()

abstract void org.webrtc.EglBase.createDummyPbufferSurface ( )
abstract

◆ createPbufferSurface()

abstract void org.webrtc.EglBase.createPbufferSurface ( int  width,
int  height 
)
abstract

◆ createSurface() [1/2]

abstract void org.webrtc.EglBase.createSurface ( Surface  surface)
abstract

◆ createSurface() [2/2]

abstract void org.webrtc.EglBase.createSurface ( SurfaceTexture  surfaceTexture)
abstract

◆ detachCurrent()

abstract void org.webrtc.EglBase.detachCurrent ( )
abstract

◆ getEglBaseContext()

abstract Context org.webrtc.EglBase.getEglBaseContext ( )
abstract

◆ hasSurface()

abstract boolean org.webrtc.EglBase.hasSurface ( )
abstract

◆ makeCurrent()

abstract void org.webrtc.EglBase.makeCurrent ( )
abstract

◆ release()

abstract void org.webrtc.EglBase.release ( )
abstract

◆ releaseSurface()

abstract void org.webrtc.EglBase.releaseSurface ( )
abstract

◆ surfaceHeight()

abstract int org.webrtc.EglBase.surfaceHeight ( )
abstract

◆ surfaceWidth()

abstract int org.webrtc.EglBase.surfaceWidth ( )
abstract

◆ swapBuffers()

abstract void org.webrtc.EglBase.swapBuffers ( )
abstract

Member Data Documentation

◆ CONFIG_PIXEL_BUFFER

final int [] org.webrtc.EglBase.CONFIG_PIXEL_BUFFER
static
Initial value:
= {
EGL10.EGL_RED_SIZE, 8,
EGL10.EGL_GREEN_SIZE, 8,
EGL10.EGL_BLUE_SIZE, 8,
EGL10.EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
EGL10.EGL_SURFACE_TYPE, EGL10.EGL_PBUFFER_BIT,
EGL10.EGL_NONE
}

◆ CONFIG_PIXEL_RGBA_BUFFER

final int [] org.webrtc.EglBase.CONFIG_PIXEL_RGBA_BUFFER
static
Initial value:
= {
EGL10.EGL_RED_SIZE, 8,
EGL10.EGL_GREEN_SIZE, 8,
EGL10.EGL_BLUE_SIZE, 8,
EGL10.EGL_ALPHA_SIZE, 8,
EGL10.EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
EGL10.EGL_SURFACE_TYPE, EGL10.EGL_PBUFFER_BIT,
EGL10.EGL_NONE
}

◆ CONFIG_PLAIN

final int [] org.webrtc.EglBase.CONFIG_PLAIN
static
Initial value:
= {
EGL10.EGL_RED_SIZE, 8,
EGL10.EGL_GREEN_SIZE, 8,
EGL10.EGL_BLUE_SIZE, 8,
EGL10.EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
EGL10.EGL_NONE
}

◆ CONFIG_RECORDABLE

final int [] org.webrtc.EglBase.CONFIG_RECORDABLE
static
Initial value:
= {
EGL10.EGL_RED_SIZE, 8,
EGL10.EGL_GREEN_SIZE, 8,
EGL10.EGL_BLUE_SIZE, 8,
EGL10.EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
EGL10.EGL_NONE
}

◆ CONFIG_RGBA

final int [] org.webrtc.EglBase.CONFIG_RGBA
static
Initial value:
= {
EGL10.EGL_RED_SIZE, 8,
EGL10.EGL_GREEN_SIZE, 8,
EGL10.EGL_BLUE_SIZE, 8,
EGL10.EGL_ALPHA_SIZE, 8,
EGL10.EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
EGL10.EGL_NONE
}

◆ lock

final Object org.webrtc.EglBase.lock = new Object()
static

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