| /frameworks/compile/slang/tests/P_export_types/ |
| export_types.rs | 23 rs_mesh mesh;
|
| /packages/wallpapers/NoiseField/src/com/android/noisefield/ |
| NoiseFieldRS.java | 10 import android.renderscript.Mesh; 20 import android.renderscript.Mesh.Primitive; 48 private Mesh mDotMesh; 63 Mesh.AllocationBuilder smb2 = new Mesh.AllocationBuilder(mRS); 68 smb2.addIndexSetType(Mesh.Primitive.POINT); 121 // The composition and colors of the background mesh were plotted on paper and photoshop 132 Log.e(LOG_TAG, "Unable to load background mesh from csv file."); 137 Log.e(LOG_TAG, "Unable to close background mesh csv file."); 156 Mesh.AllocationBuilder backgroundBuilder = new Mesh.AllocationBuilder(mRS) [all...] |
| /cts/suite/pts/deviceTests/opengl/jni/primitive/fullpipeline/ |
| FullPipelineRenderer.h | 19 #include <graphics/Mesh.h> 36 Mesh* mMesh;
|
| /cts/suite/pts/deviceTests/opengl/jni/reference/scene/ |
| Scene.h | 18 #include <graphics/Mesh.h> 43 android::Vector<Mesh*> mMeshes;
|
| /frameworks/base/libs/hwui/ |
| PatchCache.cpp | 168 * Sets the mesh's offsets and copies its associated vertices into 169 * the mesh buffer (VBO). 182 // Find a block where we can fit the mesh 186 // The mesh fits 203 // Copy the 9patch mesh in the VBO 229 const Patch* mesh = mCache.get(description); local 231 if (!mesh) { 256 return mesh;
|
| /external/chromium_org/third_party/skia/src/utils/ |
| SkNinePatch.cpp | 96 struct Mesh { 133 Mesh mesh; local 197 mesh.fVerts = verts; 198 mesh.fTexs = texs; 199 mesh.fColors = NULL; 200 mesh.fIndices = NULL; 204 mesh.fIndices = g3x3Indices; 208 mesh.fIndices = indices; 248 mesh.fVerts, mesh.fTexs, mesh.fColors, NULL [all...] |
| /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/ |
| DebugShapeFactory.java | 44 import com.jme3.scene.Mesh; 122 public static Mesh getDebugMesh(CollisionShape shape) { 123 Mesh mesh = null; local 125 mesh = new Mesh(); 126 mesh.setBuffer(Type.Position, 3, getVertices((ConvexShape) shape.getCShape())); 127 mesh.getFloatBuffer(Type.Position).clear(); 129 mesh = new Mesh(); [all...] |
| /external/skia/src/utils/ |
| SkNinePatch.cpp | 96 struct Mesh { 133 Mesh mesh; local 197 mesh.fVerts = verts; 198 mesh.fTexs = texs; 199 mesh.fColors = NULL; 200 mesh.fIndices = NULL; 204 mesh.fIndices = g3x3Indices; 208 mesh.fIndices = indices; 248 mesh.fVerts, mesh.fTexs, mesh.fColors, NULL [all...] |
| /frameworks/base/graphics/java/android/renderscript/ |
| Mesh.java | 27 * RenderScript. Internally, a mesh is a collection of allocations that 38 * Parts of the mesh can be rendered with either explicit 42 public class Mesh extends BaseObj { 46 * Describes the way mesh vertex data is interpreted when rendering 94 Mesh(int id, RenderScript rs) { 121 * @return number of primitives or index sets in the mesh 186 * Mesh builder object. It starts empty and requires you to 210 * @param rs Context to which the mesh will belong. 211 * @param usage specifies how the mesh allocations are to be 348 * Create a Mesh object from the current state of the builde [all...] |
| FileA3D.java | 59 * RenderScript Mesh object 61 MESH (1); 125 * Used to load the mesh described by the index entry, object 126 * described by the index entry must be a renderscript mesh 128 * @return renderscript mesh object described by the entry 130 public Mesh getMesh() { 131 return (Mesh)getObject(); 150 case MESH: 151 entry.mLoadedObj = new Mesh(objectID, rs);
|
| /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/ |
| MirrorModifier.java | 5 import com.jme3.scene.Mesh;
102 Mesh mesh = ((Geometry) spatial).getMesh();
local 103 Mesh clone = mesh.deepClone();
106 FloatBuffer position = mesh.getFloatBuffer(Type.Position);
107 FloatBuffer bindPosePosition = mesh.getFloatBuffer(Type.BindPosePosition);
|
| /frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/ |
| ShadersTestRS.java | 25 import android.renderscript.Mesh; 146 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { 156 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { 157 Mesh mesh = entry.getMesh(); local 158 mMeshes.set_mMesh(i, mesh, false); 159 mMeshes.set_mNumIndexSets(i, mesh.getPrimitiveCount(), false);
|
| /packages/wallpapers/MusicVisualization/src/com/android/musicvis/ |
| GenericWaveRS.java | 25 import android.renderscript.Mesh.Primitive; 55 private Mesh mCubeMesh; 119 // - combine the two in to a mesh 134 // Start creating the mesh 135 final Mesh.AllocationBuilder meshBuilder = new Mesh.AllocationBuilder(mRS); 137 // This will be a triangle strip mesh
|
| /external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/ |
| LwjglGL1Renderer.java | 14 import com.jme3.scene.Mesh; 15 import com.jme3.scene.Mesh.Mode; 883 private int convertElementMode(Mesh.Mode mode) { 900 throw new UnsupportedOperationException("Unrecognized mesh mode: " + mode); 904 public void drawTriangleArray(Mesh.Mode mode, int count, int vertCount) { [all...] |
| /cts/suite/pts/deviceTests/opengl/jni/graphics/ |
| PerspectiveMeshNode.cpp | 19 PerspectiveMeshNode::PerspectiveMeshNode(const Mesh* mesh, const GLuint textureId) : 20 TexturedMeshNode(mesh, textureId) {
|
| /cts/suite/pts/deviceTests/opengl/jni/reference/scene/flocking/ |
| WaterMeshNode.cpp | 19 WaterMeshNode::WaterMeshNode(const Mesh* mesh, int time, GLuint textureId1, GLuint textureId2) : 20 MeshNode(mesh), mTime(time), mTextureId1(textureId1), mTextureId2(textureId2) {
|
| /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/util/ |
| EntropyComputeUtil.java | 8 import com.jme3.scene.Mesh; 25 public static float computeLodEntropy(Mesh terrainBlock, IntBuffer lodIndices){ 46 // Recalculate collision mesh
|
| /frameworks/base/docs/html/reference/renderscript/ |
| rs__mesh_8rsh.html | 43 <div class="textblock"><p>Mesh routines. </p> 74 <tr><td class="paramname">m</td><td>mesh to get data from </td></tr> 107 <p>Returns the primitive describing how a part of the mesh is rendered</p> 110 <tr><td class="paramname">m</td><td>mesh to get data from </td></tr> 115 <dl class="return"><dt><b>Returns:</b></dt><dd>primitive describing how the mesh is rendered </dd></dl> 136 <tr><td class="paramname">m</td><td>mesh to get data from </td></tr> 140 <dl class="return"><dt><b>Returns:</b></dt><dd>number of primitive groups in the mesh. This would include simple primitives as well as allocations containing index data </dd></dl> 168 <p>Returns an allocation that is part of the mesh and contains vertex data, e.g. positions, normals, texcoords</p> 171 <tr><td class="paramname">m</td><td>mesh to get data from </td></tr> 194 <p>Returns the number of allocations in the mesh that contain vertex data</p [all...] |
| /frameworks/rs/driver/ |
| rsdMeshObj.h | 25 class Mesh; 37 const android::renderscript::Mesh *); 46 const android::renderscript::Mesh *mRSMesh;
|
| /cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/ |
| FileA3DTest.java | 59 assertTrue(entry.getEntryType() == FileA3D.EntryType.MESH); 76 assertTrue(entry.getEntryType() == FileA3D.EntryType.MESH); 100 assertEquals(FileA3D.EntryType.MESH, FileA3D.EntryType.valueOf("MESH"));
|
| /external/jmonkeyengine/engine/src/test/jme3test/collision/ |
| TestRayCasting.java | 39 import com.jme3.scene.Mesh; 61 Mesh q = new Mesh(); 74 teapot = assetManager.loadModel("Models/Teapot/Teapot.mesh.xml");
|
| /external/jmonkeyengine/engine/src/test/jme3test/tools/ |
| TestTextureAtlas.java | 58 Spatial obj2 = assetManager.loadModel("Models/Oto/Oto.mesh.xml"); 60 Spatial obj3 = assetManager.loadModel("Models/Ninja/Ninja.mesh.xml"); 62 Spatial obj4 = assetManager.loadModel("Models/Sinbad/Sinbad.mesh.xml"); 64 Spatial obj5 = assetManager.loadModel("Models/Tree/Tree.mesh.j3o");
|
| /frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
| UiTest.java | 32 import android.renderscript.Mesh.Primitive; 58 private Mesh mSingleMesh; 59 private Mesh mParticlesMesh; 103 mSingleMesh = getSingleMesh(1, 1); // a unit size mesh 144 final Mesh.AllocationBuilder meshBuilder = new Mesh.AllocationBuilder(mRS); 155 * Create a mesh with a single quad for the given width and height. 157 private Mesh getSingleMesh(float width, float height) { 158 Mesh.TriangleMeshBuilder tmb = new Mesh.TriangleMeshBuilder(mRS [all...] |
| /packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/ |
| HoloSpiralRS.java | 32 import android.renderscript.Mesh; 33 import android.renderscript.Mesh.Primitive; 165 Mesh.AllocationBuilder innerPointBuilder = new Mesh.AllocationBuilder(mRS); 175 Mesh.AllocationBuilder outerPointBuilder = new Mesh.AllocationBuilder(mRS); 212 Mesh.AllocationBuilder backgroundBuilder = new Mesh.AllocationBuilder(mRS);
|
| /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/meshes/ |
| MeshHelper.java | 49 import com.jme3.scene.Mesh;
70 * A class that is used in mesh calculations.
90 * This method reads converts the given structure into mesh. The given structure needs to be filled with the appropriate data.
93 * the structure we read the mesh from
94 * @return the mesh feature
112 // reading mesh data
124 // the following map sorts faces by material number (because in jme Mesh can have only one material)
309 Mesh mesh = new Mesh();
local [all...] |