java.lang.Object | ||
↳ | android.renderscript.RenderScript | |
↳ | android.renderscript.RenderScriptGL |
The Graphics derivitive of RenderScript. Extends the basic context to add a root script which is the display window for graphical output. When the system needs to update the display the currently bound root script will be called. This script is expected to issue the rendering commands to repaint the screen.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
RenderScriptGL.SurfaceConfig | Class which is used to describe a pixel format for a graphical buffer. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a new RenderScriptGL context.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Set the default ProgramFragment object seen as the parent state by the
root rendering script.
| |||||||||||
Set the default ProgramRaster object seen as the parent state by the
root rendering script.
| |||||||||||
Set the default ProgramStore object seen as the parent state by the root
rendering script.
| |||||||||||
Set the default ProgramVertex object seen as the parent state by the
root rendering script.
| |||||||||||
Set the script to handle calls to render the primary surface.
| |||||||||||
return the height of the last set surface.
| |||||||||||
return the width of the last set surface.
| |||||||||||
Temporarly halt calls to the root rendering script.
| |||||||||||
Resume calls to the root rendering script.
| |||||||||||
Bind an os surface
| |||||||||||
Bind an os surface
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.renderscript.RenderScript
| |||||||||||
From class
java.lang.Object
|
Construct a new RenderScriptGL context.
ctx | The context. |
---|---|
sc | The desired format of the primary rendering surface. |
Set the default ProgramFragment object seen as the parent state by the root rendering script.
Set the default ProgramRaster object seen as the parent state by the root rendering script.
Set the default ProgramStore object seen as the parent state by the root rendering script.
Set the default ProgramVertex object seen as the parent state by the root rendering script.
Set the script to handle calls to render the primary surface.
s | Graphics script to process rendering requests. |
---|
Bind an os surface