summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2011-01-04 21:58:19 -0800
committerJason Sams <rjsams@android.com>2011-01-04 22:19:53 -0800
commit334108b56c60ecb0aec25b63708aa2f9668e2926 (patch)
tree65c787668c92050bdc11d07516a2713ddd77fb78 /graphics
parenta23d4e792cb13090c540edfdd5cee03799bb9d48 (diff)
downloadframeworks_base-334108b56c60ecb0aec25b63708aa2f9668e2926.zip
frameworks_base-334108b56c60ecb0aec25b63708aa2f9668e2926.tar.gz
frameworks_base-334108b56c60ecb0aec25b63708aa2f9668e2926.tar.bz2
Random cleanup
Change-Id: Ife6f19d51e8229b6cf1ca8689df7baba2fcb4dc9
Diffstat (limited to 'graphics')
-rw-r--r--graphics/java/android/renderscript/Dimension.java35
-rw-r--r--graphics/java/android/renderscript/RenderScriptGL.java13
2 files changed, 0 insertions, 48 deletions
diff --git a/graphics/java/android/renderscript/Dimension.java b/graphics/java/android/renderscript/Dimension.java
deleted file mode 100644
index f29057d..0000000
--- a/graphics/java/android/renderscript/Dimension.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (C) 2008 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package android.renderscript;
-
-/**
- * @hide
- **/
-public enum Dimension {
- X (0),
- Y (1),
- Z (2),
- LOD (3),
- FACE (4),
- ARRAY_0 (100);
-
- int mID;
- Dimension(int id) {
- mID = id;
- }
-}
-
diff --git a/graphics/java/android/renderscript/RenderScriptGL.java b/graphics/java/android/renderscript/RenderScriptGL.java
index ed84f6c..58cc739 100644
--- a/graphics/java/android/renderscript/RenderScriptGL.java
+++ b/graphics/java/android/renderscript/RenderScriptGL.java
@@ -150,19 +150,6 @@ public class RenderScriptGL extends RenderScript {
};
SurfaceConfig mSurfaceConfig;
-/*
- // Keep?
- public void configureSurface(SurfaceHolder sh) {
- if (mSurfaceConfig.mAlphaMin > 1) {
- sh.setFormat(PixelFormat.RGBA_8888);
- } else {
- sh.setFormat(PixelFormat.RGBX_8888);
- }
- }
-
- public void checkSurface(SurfaceHolder sh) {
- }
-*/
/**
* Construct a new RenderScriptGL context.