Methods Summary |
---|
protected boolean | activateGlContext()Helper function for subclasses to activate the GL environment before running.
GLEnvironment glEnv = mFilterContext.getGLEnvironment();
if (glEnv != null && !glEnv.isActive()) {
glEnv.activate();
return true;
}
return false;
|
public abstract void | close()Closes the filters in a graph. Can only be called if the graph is not running.
|
protected void | deactivateGlContext()Helper function for subclasses to deactivate the GL environment after running.
GLEnvironment glEnv = mFilterContext.getGLEnvironment();
if (glEnv != null) {
glEnv.deactivate();
}
|
public FilterContext | getContext()
return mFilterContext;
|
public abstract java.lang.Exception | getError()Returns the last exception that happened during an asynchronous run. Returns null if
there is nothing to report.
|
public abstract FilterGraph | getGraph()
|
public abstract boolean | isRunning()
|
public abstract void | run()Starts running the graph. Will open the filters in the graph if they are not already open.
|
public abstract void | setDoneCallback(android.filterfw.core.GraphRunner$OnRunnerDoneListener listener)
|
public abstract void | stop()Stops graph execution. As part of stopping, also closes the graph nodes.
|