From 27676fe24be7444a174c15df476e49adc5335d03 Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Wed, 10 Nov 2010 17:00:59 -0800 Subject: More documentation. Change-Id: I423ff081edd4dab9173bc13d05850bb39839b6d3 --- graphics/java/android/renderscript/RenderScriptGL.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'graphics/java/android/renderscript/RenderScriptGL.java') diff --git a/graphics/java/android/renderscript/RenderScriptGL.java b/graphics/java/android/renderscript/RenderScriptGL.java index cace063..181d4bd 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; -- cgit v1.1