|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectproject.android.imageprocessing.GLRenderer
project.android.imageprocessing.output.ScreenEndpoint
public class ScreenEndpoint
A screen renderer extension of GLRenderer. This class accepts a texture as input and renders it to the screen.
Field Summary |
---|
Fields inherited from class project.android.imageprocessing.GLRenderer |
---|
ATTRIBUTE_POSITION, ATTRIBUTE_TEXCOORD, UNIFORM_TEXTURE0, VARYING_TEXCOORD |
Constructor Summary | |
---|---|
ScreenEndpoint(FastImageProcessingPipeline rendererContext)
Creates a GLTextureToScreenRenderer. |
Method Summary | |
---|---|
void |
newTextureReady(int texture,
GLTextureOutputRenderer source)
Signals that a new texture is available and the image should be reprocessed. |
Methods inherited from class project.android.imageprocessing.GLRenderer |
---|
destroy, getBackgroundAlpha, getBackgroundBlue, getBackgroundGreen, getBackgroundRed, getHeight, getWidth, onDrawFrame, reInitialize, rotateClockwise90Degrees, rotateCounterClockwise90Degrees, setBackgroundAlpha, setBackgroundBlue, setBackgroundColour, setBackgroundGreen, setBackgroundRed, setRenderSize |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScreenEndpoint(FastImageProcessingPipeline rendererContext)
rendererContext
- A reference to the GLSurfaceView.Renderer that contains the OpenGL context.Method Detail |
---|
public void newTextureReady(int texture, GLTextureOutputRenderer source)
GLTextureInputRenderer
newTextureReady
in interface GLTextureInputRenderer
texture
- The texture id to be used as input.source
- The GLTextureOutputRenderer which produced the texture.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |