diff options
Diffstat (limited to 'tests/RenderScriptTests/SceneGraph/src/com/android/testapp/SimpleAppView.java')
-rw-r--r-- | tests/RenderScriptTests/SceneGraph/src/com/android/testapp/SimpleAppView.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/SimpleAppView.java b/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/SimpleAppView.java index 053e545..2112181 100644 --- a/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/SimpleAppView.java +++ b/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/SimpleAppView.java @@ -41,6 +41,7 @@ public class SimpleAppView extends RSSurfaceView { if (mRS == null) { RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig(); sc.setDepth(16, 24); + sc.setSamples(1, 2, 1); mRS = createRenderScriptGL(sc); mRS.setSurface(holder, w, h); mRender = new SimpleAppRS(); |