Disable wallpapers during RS ACC -> LLVM transition.
Change-Id: Ib3eb045b613b38d80249e9f70174945c8b7555bc
diff --git a/src/com/android/musicvis/vis5/Visualization5RS.java b/src/com/android/musicvis/vis5/Visualization5RS.java
index e92ef2c..6c32cbc 100644
--- a/src/com/android/musicvis/vis5/Visualization5RS.java
+++ b/src/com/android/musicvis/vis5/Visualization5RS.java
@@ -155,7 +155,7 @@
@Override
protected ScriptC createScript() {
-
+/*
// Create a renderscript type from a java class. The specified name doesn't
// really matter; the name by which we refer to the object in RenderScript
// will be specified later.
@@ -268,17 +268,13 @@
mCubeMesh.bindVertexAllocation(mPointAlloc, 0);
mCubeMesh.bindIndexAllocation(mLineIdxAlloc);
- /*
- * put the vertex and index data in their respective buffers
- */
+ // put the vertex and index data in their respective buffers
updateWave();
for(int i = 0; i < mIndexData.length; i ++) {
mIndexData[i] = (short) i;
}
- /*
- * upload the vertex and index data
- */
+ // upload the vertex and index data
mPointAlloc.data(mPointData);
mPointAlloc.uploadToBufferObject();
mLineIdxAlloc.data(mIndexData);
@@ -302,6 +298,8 @@
script.bindAllocation(mPVAlloc.mAlloc, RSID_PROGRAMVERTEX);
return script;
+ */
+ return null;
}
@Override