diff options
author | Jason Sams <rjsams@android.com> | 2010-11-10 17:00:59 -0800 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2010-11-10 17:00:59 -0800 |
commit | 27676fe24be7444a174c15df476e49adc5335d03 (patch) | |
tree | 4eb9aafa117326b2eeb44d63d962791290df9e7b /graphics/java/android/renderscript/RenderScriptGL.java | |
parent | 95ab69f4f4c9c097d328a4bc2448e1aa8f0f2617 (diff) |
More documentation.
Change-Id: I423ff081edd4dab9173bc13d05850bb39839b6d3
Diffstat (limited to 'graphics/java/android/renderscript/RenderScriptGL.java')
-rw-r--r-- | graphics/java/android/renderscript/RenderScriptGL.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/java/android/renderscript/RenderScriptGL.java b/graphics/java/android/renderscript/RenderScriptGL.java index cace0636ab9c..181d4bd5aec3 100644 --- a/graphics/java/android/renderscript/RenderScriptGL.java +++ b/graphics/java/android/renderscript/RenderScriptGL.java @@ -30,12 +30,22 @@ import android.view.SurfaceView; /** * @hide * + * 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. **/ public class RenderScriptGL extends RenderScript { private Surface mSurface; int mWidth; int mHeight; + /** + * Class which is used to describe a pixel format for a graphical buffer. + * This is used to describe the intended format of the display surface. + * + */ public static class SurfaceConfig { int mDepthMin = 0; int mDepthPref = 0; |