android.graphics
Class SurfaceTexture

java.lang.Object
  extended by android.graphics.SurfaceTexture

public class SurfaceTexture
extends Object


Nested Class Summary
static interface SurfaceTexture.OnFrameAvailableListener
           
static class SurfaceTexture.OutOfResourcesException
           
 
Constructor Summary
SurfaceTexture(int texName)
           
 
Method Summary
 void attachToGLContext(int texName)
           
 void detachFromGLContext()
           
protected  void finalize()
           
 long getTimestamp()
           
 void getTransformMatrix(float[] mtx)
           
 void release()
           
 void setDefaultBufferSize(int width, int height)
           
 void setOnFrameAvailableListener(SurfaceTexture.OnFrameAvailableListener l)
           
 void updateTexImage()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SurfaceTexture

public SurfaceTexture(int texName)
Method Detail

setOnFrameAvailableListener

public void setOnFrameAvailableListener(SurfaceTexture.OnFrameAvailableListener l)

setDefaultBufferSize

public void setDefaultBufferSize(int width,
                                 int height)

updateTexImage

public void updateTexImage()

detachFromGLContext

public void detachFromGLContext()

attachToGLContext

public void attachToGLContext(int texName)

getTransformMatrix

public void getTransformMatrix(float[] mtx)

getTimestamp

public long getTimestamp()

release

public void release()

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable


Copyright © 2008-2012. All Rights Reserved.