Loading graphics/java/android/renderscript/Mesh.java +1 −1 Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ public class Mesh extends BaseObj { int[] primitives = new int[idxCount]; mRS.nMeshGetVertices(mID, vtxIDs, vtxCount); mRS.nMeshGetIndices(mID, idxIDs, primitives, vtxCount); mRS.nMeshGetIndices(mID, idxIDs, primitives, idxCount); mVertexBuffers = new Allocation[vtxCount]; mIndexBuffers = new Allocation[idxCount]; Loading libs/rs/rsMesh.cpp +0 −2 Original line number Diff line number Diff line Loading @@ -124,8 +124,6 @@ void Mesh::uploadAll(Context *rsc) mPrimitives[ct]->mIndexBuffer->deferedUploadToBufferObject(rsc); } } rsc->checkError("Mesh::uploadAll"); } void Mesh::updateGLPrimitives() Loading Loading
graphics/java/android/renderscript/Mesh.java +1 −1 Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ public class Mesh extends BaseObj { int[] primitives = new int[idxCount]; mRS.nMeshGetVertices(mID, vtxIDs, vtxCount); mRS.nMeshGetIndices(mID, idxIDs, primitives, vtxCount); mRS.nMeshGetIndices(mID, idxIDs, primitives, idxCount); mVertexBuffers = new Allocation[vtxCount]; mIndexBuffers = new Allocation[idxCount]; Loading
libs/rs/rsMesh.cpp +0 −2 Original line number Diff line number Diff line Loading @@ -124,8 +124,6 @@ void Mesh::uploadAll(Context *rsc) mPrimitives[ct]->mIndexBuffer->deferedUploadToBufferObject(rsc); } } rsc->checkError("Mesh::uploadAll"); } void Mesh::updateGLPrimitives() Loading