public class GlTextureView
extends TextureView
Constructor and Description |
---|
GlTextureView(Context context) |
GlTextureView(Context context,
AttributeSet attrs) |
GlTextureView(Context context,
AttributeSet attrs,
int defStyle) |
Modifier and Type | Method and Description |
---|---|
protected void |
finalize() |
protected void |
onAttachedToWindow() |
protected void |
onDetachedFromWindow() |
void |
onPause() |
void |
onResume() |
void |
onSurfaceTextureAvailable(SurfaceTexture surface,
int width,
int height) |
boolean |
onSurfaceTextureDestroyed(SurfaceTexture surface) |
void |
onSurfaceTextureSizeChanged(SurfaceTexture surface,
int width,
int height) |
void |
onSurfaceTextureUpdated(SurfaceTexture surface) |
void |
queueEvent(java.lang.Runnable r) |
void |
requestRender() |
void |
setEGLConfigChooser(GLSurfaceView.EGLConfigChooser configChooser) |
void |
setEGLContextFactory(GLSurfaceView.EGLContextFactory factory) |
void |
setRenderer(GLSurfaceView.Renderer renderer) |
void |
setRenderMode(int renderMode) |
void |
setSurfaceTextureListener(SurfaceTextureListener listener) |
public GlTextureView(@NonNull Context context)
public GlTextureView(@NonNull Context context, AttributeSet attrs)
public GlTextureView(@NonNull Context context, AttributeSet attrs, int defStyle)
protected void finalize() throws java.lang.Throwable
java.lang.Throwable
protected void onAttachedToWindow()
protected void onDetachedFromWindow()
public void onPause()
public void onResume()
public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height)
public boolean onSurfaceTextureDestroyed(SurfaceTexture surface)
public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height)
public void onSurfaceTextureUpdated(SurfaceTexture surface)
@AnyThread public void queueEvent(@NonNull java.lang.Runnable r)
public void requestRender()
public void setEGLConfigChooser(GLSurfaceView.EGLConfigChooser configChooser)
public void setEGLContextFactory(GLSurfaceView.EGLContextFactory factory)
public void setRenderer(GLSurfaceView.Renderer renderer)
public void setRenderMode(int renderMode)
public void setSurfaceTextureListener(SurfaceTextureListener listener)