/frameworks/base/libs/rs/driver/ |
rsdMesh.h | 24 const android::renderscript::Mesh *m); 26 const android::renderscript::Mesh *m, 29 const android::renderscript::Mesh *m);
|
rsdMeshObj.h | 25 class Mesh; 37 const android::renderscript::Mesh *); 45 const android::renderscript::Mesh *mRSMesh;
|
rsdMesh.cpp | 30 bool rsdMeshInit(const Context *rsc, const Mesh *m) { 41 void rsdMeshDraw(const Context *rsc, const Mesh *m, uint32_t primIndex, uint32_t start, uint32_t len) { 53 void rsdMeshDestroy(const Context *rsc, const Mesh *m) {
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
MeshTest.java | 22 import android.renderscript.Mesh; 23 import android.renderscript.Mesh.Primitive; 24 import android.renderscript.Mesh.AllocationBuilder; 25 import android.renderscript.Mesh.Builder; 26 import android.renderscript.Mesh.TriangleMeshBuilder; 52 Mesh.AllocationBuilder mab; 54 mab = new Mesh.AllocationBuilder(mRS); 60 mab = new Mesh.AllocationBuilder(mRS); 67 Mesh mesh = mab.create() local 87 Mesh mesh = mb.create(); local [all...] |
/frameworks/base/libs/rs/ |
rsMesh.h | 29 class Mesh : public ObjectBase { 31 Mesh(Context *); 32 Mesh(Context *, uint32_t vertexBuffersCount, uint32_t primitivesCount); 33 ~Mesh(); 37 static Mesh *createFromStream(Context *rsc, IStream *stream);
|
rsMesh.cpp | 22 Mesh::Mesh(Context *rsc) : ObjectBase(rsc) { 36 Mesh::Mesh(Context *rsc, 60 Mesh::~Mesh() { 62 mRSC->mHal.funcs.mesh.destroy(mRSC, this); 73 void Mesh::init() { 75 mRSC->mHal.funcs.mesh.init(mRSC, this); 79 void Mesh::serialize(OStream *stream) const 148 Mesh *mesh = new Mesh(rsc, vertexBuffersCount, primitivesCount); local [all...] |
rs_hal.h | 37 class Mesh; 186 bool (*init)(const Context *rsc, const Mesh *m); 187 void (*draw)(const Context *rsc, const Mesh *m, uint32_t primIndex, uint32_t start, uint32_t len); 188 void (*destroy)(const Context *rsc, const Mesh *m); 189 } mesh; member in struct:android::renderscript::__anon14764
|
rsRuntime.h | 71 void rsrDrawMesh(Context *, Script *, Mesh *); 72 void rsrDrawMeshPrimitive(Context *, Script *, Mesh *, uint32_t primIndex); 73 void rsrDrawMeshPrimitiveRange(Context *, Script *, Mesh *, 75 void rsrMeshComputeBoundingBox(Context *, Script *, Mesh *,
|
/development/samples/RenderScript/Fountain/src/com/example/android/rs/fountain/ |
FountainRS.java | 44 Mesh.AllocationBuilder smb = new Mesh.AllocationBuilder(mRS); 46 smb.addIndexSetType(Mesh.Primitive.POINT); 47 Mesh sm = smb.create();
|
/development/samples/RenderScript/FountainFbo/src/com/example/android/rs/fountainfbo/ |
FountainFboRS.java | 22 import android.renderscript.Mesh; 46 Mesh.AllocationBuilder smb = new Mesh.AllocationBuilder(mRS); 48 smb.addIndexSetType(Mesh.Primitive.POINT); 49 Mesh sm = smb.create();
|
/packages/wallpapers/PhaseBeam/src/com/android/phasebeam/ |
PhaseBeamRS.java | 9 import android.renderscript.Mesh; 21 import android.renderscript.Mesh.Primitive; 46 private Mesh mDotMesh; 49 private Mesh mBeamMesh; 68 Mesh.AllocationBuilder smb2 = new Mesh.AllocationBuilder(mRS); 70 smb2.addIndexSetType(Mesh.Primitive.POINT); 74 Mesh.AllocationBuilder smb3 = new Mesh.AllocationBuilder(mRS); 76 smb3.addIndexSetType(Mesh.Primitive.POINT) [all...] |
/packages/wallpapers/Galaxy4/src/com/android/galaxy4/ |
GalaxyRS.java | 8 import android.renderscript.Mesh; 36 private Mesh spaceCloudsMesh; 37 private Mesh bgStarsMesh; 61 Mesh.AllocationBuilder smb = new Mesh.AllocationBuilder(mRS); 63 smb.addIndexSetType(Mesh.Primitive.POINT); 67 Mesh.AllocationBuilder smb2 = new Mesh.AllocationBuilder(mRS); 69 smb2.addIndexSetType(Mesh.Primitive.POINT);
|
/development/samples/RenderScript/Balls/src/com/example/android/rs/balls/ |
BallsRS.java | 107 Mesh.AllocationBuilder smb = new Mesh.AllocationBuilder(mRS); 109 smb.addIndexSetType(Mesh.Primitive.POINT); 110 Mesh smP = smb.create();
|
/external/skia/samplecode/ |
SampleWarp.cpp | 202 class Mesh { 204 Mesh(); 205 ~Mesh(); 207 Mesh& operator=(const Mesh& src); 233 Mesh::Mesh() : fPts(NULL), fCount(0), fIndices(NULL), fIndexCount(0) {} 235 Mesh::~Mesh() { 240 Mesh& Mesh::operator=(const Mesh& src) [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); 210 Mesh.AllocationBuilder backgroundBuilder = new Mesh.AllocationBuilder(mRS);
|
/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...] |
/development/tools/a3dconvert/ |
SimpleMesh.h | 45 // Adds another index set to the mesh 71 // Generates a renderscript mesh that could be used for a3d serialization 72 Mesh *getRsMesh(Context *rsc) { 124 Mesh *mesh = new Mesh(rsc, 1, mTriangleLists.size()); local 125 mesh->setName(mName.c_str()); 126 mesh->setVertexBuffer(vertexAlloc, 0); 149 mesh->setPrimitive(indexAlloc, RS_PRIMITIVE_TRIANGLE, pCount); 152 return mesh; [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
FileA3D.java | 54 * Renderscript Mesh object 56 MESH (1); 115 * Used to load the mesh described by the index entry, object 116 * described by the index entry must be a renderscript mesh 118 * @return renderscript mesh object described by the entry 120 public Mesh getMesh() { 121 return (Mesh)getObject(); 140 case MESH: 141 entry.mLoadedObj = new Mesh(objectID, rs);
|
Mesh.java | 25 * Renderscript. Internally, a mesh is a collection of allocations that 36 * Parts of the mesh can be rendered with either explicit 40 public class Mesh extends BaseObj { 43 * Describes the way mesh vertex data is interpreted when rendering 85 Mesh(int id, RenderScript rs) { 109 * @return number of primitives or index sets in the mesh 171 * Mesh builder object. It starts empty and requires you to 194 * @param rs Context to which the mesh will belong. 195 * @param usage specifies how the mesh allocations are to be 324 * Create a Mesh object from the current state of the builde [all...] |
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
RsBenchRS.java | 41 import android.renderscript.Mesh.Primitive; 118 private Mesh m10by10Mesh; 119 private Mesh m100by100Mesh; 120 private Mesh mWbyHMesh; 121 private Mesh mTorus; 122 private Mesh mSingleMesh; 123 private Mesh mParticlesMesh; 237 private Mesh getMbyNMesh(float width, float height, int wResolution, int hResolution) { 239 Mesh.TriangleMeshBuilder tmb = new Mesh.TriangleMeshBuilder(mRS [all...] |
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
CarouselViewHelper.java | 12 import android.renderscript.Mesh; 128 Mesh mesh = getGeometry(id); local 129 if (mesh != null) { 130 mSyncHandler.obtainMessage(SET_GEOMETRY_N, id, 0, mesh).sendToTarget(); 160 mCarouselView.setGeometryForItem(id, (Mesh) msg.obj); 202 public Mesh getGeometry(int id) {
|
CarouselController.java | 24 import android.renderscript.Mesh; 152 * @return the loaded mesh or null if it cannot be loaded 154 public Mesh loadGeometry(int resId) { 164 * @param mesh The geometry for that item 167 public void setGeometryForItem(int n, Mesh mesh) { 169 mRenderScript.setGeometry(n, mesh); 181 Mesh mesh = mRenderScript.loadGeometry(resId); local 182 mRenderScript.setGeometry(n, mesh); 534 Mesh mesh = mRenderScript.loadGeometry(resId); local 565 Mesh mesh = mRenderScript.loadGeometry(resId); local [all...] |
CarouselView.java | 25 import android.renderscript.Mesh; 200 * @return the loaded mesh or null if it cannot be loaded 202 public Mesh loadGeometry(int resId) { 209 * @param mesh 211 public void setGeometryForItem(int n, Mesh mesh) { 212 mController.setGeometryForItem(n, mesh);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/galaxy/ |
GalaxyRS.java | 20 import android.renderscript.Mesh.Primitive; 39 private Mesh mParticlesMesh; 72 final Mesh.AllocationBuilder meshBuilder = new Mesh.AllocationBuilder(mRS);
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/ |
GenericWaveRS.java | 25 import android.renderscript.Mesh.Primitive; 55 private Mesh mCubeMesh; 123 // - combine the two in to a mesh 138 // Start creating the mesh 139 final Mesh.AllocationBuilder meshBuilder = new Mesh.AllocationBuilder(mRS); 145 // This will be a line mesh
|