public class RenderFactory
extends java.lang.Object
Constructor and Description |
---|
RenderFactory() |
Modifier and Type | Method and Description |
---|---|
static VideoConsumer |
initialize(VideoMediaFormat fmt,
android.opengl.GLSurfaceView gsv,
android.view.SurfaceView sv,
android.content.Context c)
Initialize a GLSurfaceView capable of used as a Renderer for a
Gv2F processor.
|
public static VideoConsumer initialize(VideoMediaFormat fmt, android.opengl.GLSurfaceView gsv, android.view.SurfaceView sv, android.content.Context c) throws MediaException
fmt
- the video track to usegsv
- the open GL surface to draw to.sv
- the software surfce to be used as a backup.c
- the context to use to determine the OpenGLES version.MediaException