/frameworks/rs/ |
D | rsMesh.cpp | 24 Mesh::Mesh(Context *rsc) : ObjectBase(rsc) { in Mesh() function in Mesh 38 Mesh::Mesh(Context *rsc, in Mesh() function in Mesh 62 Mesh::~Mesh() { in ~Mesh() 75 void Mesh::init() { in init() 81 void Mesh::serialize(Context *rsc, OStream *stream) const { in serialize() 108 Mesh *Mesh::createFromStream(Context *rsc, IStream *stream) { in createFromStream() 150 Mesh *mesh = new Mesh(rsc, vertexBuffersCount, primitivesCount); in createFromStream() 175 void Mesh::render(Context *rsc) const { in render() 181 void Mesh::renderPrimitive(Context *rsc, uint32_t primIndex) const { in renderPrimitive() 195 void Mesh::renderPrimitiveRange(Context *rsc, uint32_t primIndex, uint32_t start, uint32_t len) con… in renderPrimitiveRange() [all …]
|
D | rsMesh.h | 36 class Mesh : public ObjectBase { 58 Mesh(Context *); 59 Mesh(Context *, uint32_t vertexBuffersCount, uint32_t primitivesCount); 60 ~Mesh(); 64 static Mesh *createFromStream(Context *rsc, IStream *stream);
|
D | rsRuntime.h | 61 void rsrDrawMesh(Context *, Script *, Mesh *); 62 void rsrDrawMeshPrimitive(Context *, Script *, Mesh *, uint32_t primIndex); 63 void rsrDrawMeshPrimitiveRange(Context *, Script *, Mesh *, 65 void rsrMeshComputeBoundingBox(Context *, Script *, Mesh *,
|
D | rsScriptC_LibGL.cpp | 159 void rsrDrawMesh(Context *rsc, Script *sc, Mesh *sm) { in rsrDrawMesh() 167 void rsrDrawMeshPrimitive(Context *rsc, Script *sc, Mesh *sm, uint32_t primIndex) { in rsrDrawMeshPrimitive() 175 void rsrDrawMeshPrimitiveRange(Context *rsc, Script *sc, Mesh *sm, uint32_t primIndex, in rsrDrawMeshPrimitiveRange() 184 void rsrMeshComputeBoundingBox(Context *rsc, Script *sc, Mesh *sm, in rsrMeshComputeBoundingBox()
|
D | rs_hal.h | 44 class Mesh; variable 244 bool (*init)(const Context *rsc, const Mesh *m); 245 … void (*draw)(const Context *rsc, const Mesh *m, uint32_t primIndex, uint32_t start, uint32_t len); 246 void (*destroy)(const Context *rsc, const Mesh *m);
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
D | MeshTest.java | 29 import android.renderscript.Mesh.Primitive; 45 private Mesh m10by10Mesh; 46 private Mesh m100by100Mesh; 47 private Mesh mWbyHMesh; 105 private Mesh getMbyNMesh(float width, float height, int wResolution, int hResolution) { in getMbyNMesh() 107 Mesh.TriangleMeshBuilder tmb = new Mesh.TriangleMeshBuilder(mRS, in getMbyNMesh() 108 2, Mesh.TriangleMeshBuilder.TEXTURE_0); in getMbyNMesh()
|
D | UiTest.java | 32 import android.renderscript.Mesh.Primitive; 58 private Mesh mSingleMesh; 59 private Mesh mParticlesMesh; 144 final Mesh.AllocationBuilder meshBuilder = new Mesh.AllocationBuilder(mRS); in createParticlesMesh() 157 private Mesh getSingleMesh(float width, float height) { in getSingleMesh() 158 Mesh.TriangleMeshBuilder tmb = new Mesh.TriangleMeshBuilder(mRS, in getSingleMesh() 159 2, Mesh.TriangleMeshBuilder.TEXTURE_0); in getSingleMesh()
|
/frameworks/base/tests/RenderScriptTests/FountainFbo/src/com/example/android/rs/fountainfbo/ |
D | FountainFboRS.java | 22 import android.renderscript.Mesh; 46 Mesh.AllocationBuilder smb = new Mesh.AllocationBuilder(mRS); in init() 48 smb.addIndexSetType(Mesh.Primitive.POINT); in init() 49 Mesh sm = smb.create(); in init()
|
/frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/ |
D | FountainRS.java | 44 Mesh.AllocationBuilder smb = new Mesh.AllocationBuilder(mRS); in init() 46 smb.addIndexSetType(Mesh.Primitive.POINT); in init() 47 Mesh sm = smb.create(); in init()
|
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/ |
D | FountainRS.java | 44 Mesh.AllocationBuilder smb = new Mesh.AllocationBuilder(mRS); in init() 46 smb.addIndexSetType(Mesh.Primitive.POINT); in init() 47 Mesh sm = smb.create(); in init()
|
/frameworks/rs/driver/ |
D | rsdMesh.h | 24 const android::renderscript::Mesh *m); 26 const android::renderscript::Mesh *m, 29 const android::renderscript::Mesh *m);
|
D | rsdMeshObj.h | 25 class Mesh; variable 37 const android::renderscript::Mesh *); 46 const android::renderscript::Mesh *mRSMesh;
|
D | rsdMesh.cpp | 30 bool rsdMeshInit(const Context *rsc, const Mesh *m) { in rsdMeshInit() 41 void rsdMeshDraw(const Context *rsc, const Mesh *m, uint32_t primIndex, uint32_t start, uint32_t le… in rsdMeshDraw() 53 void rsdMeshDestroy(const Context *rsc, const Mesh *m) { in rsdMeshDestroy()
|
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/ |
D | UT_mesh.java | 22 import android.renderscript.Mesh.*; 27 Mesh mesh; 41 Mesh.AllocationBuilder mBuilder = new Mesh.AllocationBuilder(RS); in initializeGlobals()
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
D | SimpleAppRS.java | 43 Mesh mSimpleMesh; 44 Mesh mSphereMesh; 45 Mesh mCubeMesh; 69 Mesh.TriangleMeshBuilder tmb = new Mesh.TriangleMeshBuilder(mRS, 3, in setupGeometry() 70 Mesh.TriangleMeshBuilder.TEXTURE_0); in setupGeometry()
|
/frameworks/base/graphics/java/android/renderscript/ |
D | Mesh.java | 41 public class Mesh extends BaseObj { class 93 Mesh(int id, RenderScript rs) { in Mesh() method in Mesh 350 public Mesh create() { in create() 389 Mesh newMesh = new Mesh(id, mRS); in create() 505 public Mesh create() { in create() 533 Mesh newMesh = new Mesh(id, mRS); in create() 786 public Mesh create(boolean uploadToBufferObject) { in create() 811 Mesh sm = smb.create(); in create()
|
D | FileA3D.java | 129 public Mesh getMesh() { in getMesh() 130 return (Mesh)getObject(); in getMesh() 150 entry.mLoadedObj = new Mesh(objectID, rs); in internalCreate()
|
/frameworks/base/tests/RenderScriptTests/Balls/src/com/example/android/rs/balls/ |
D | BallsRS.java | 107 Mesh.AllocationBuilder smb = new Mesh.AllocationBuilder(mRS); in init() 109 smb.addIndexSetType(Mesh.Primitive.POINT); in init() 110 Mesh smP = smb.create(); in init()
|
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
D | CarouselController.java | 24 import android.renderscript.Mesh; 154 public Mesh loadGeometry(int resId) { in loadGeometry() 167 public void setGeometryForItem(int n, Mesh mesh) { in setGeometryForItem() 181 Mesh mesh = mRenderScript.loadGeometry(resId); in setGeometryForItem() 534 Mesh mesh = mRenderScript.loadGeometry(resId); in setDefaultGeometry() 565 Mesh mesh = mRenderScript.loadGeometry(resId); in setLoadingGeometry()
|
D | CarouselViewHelper.java | 12 import android.renderscript.Mesh; 128 Mesh mesh = getGeometry(id); in handleMessage() 160 mCarouselView.setGeometryForItem(id, (Mesh) msg.obj); in handleMessage() 202 public Mesh getGeometry(int id) { in getGeometry()
|
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/ |
D | RsRenderStatesRS.java | 107 private Mesh mMbyNMesh; 108 private Mesh mTorus; 140 private Mesh getMbyNMesh(float width, float height, int wResolution, int hResolution) { in getMbyNMesh() 142 Mesh.TriangleMeshBuilder tmb = new Mesh.TriangleMeshBuilder(mRS, in getMbyNMesh() 143 2, Mesh.TriangleMeshBuilder.TEXTURE_0); in getMbyNMesh() 356 mTorus = (Mesh)entry.getObject(); in initMesh()
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
D | SceneManager.java | 44 import android.renderscript.Mesh; 68 Mesh mQuad; 428 public Mesh getScreenAlignedQuad() { in getScreenAlignedQuad() 433 Mesh.TriangleMeshBuilder tmb = new Mesh.TriangleMeshBuilder(mRS, in getScreenAlignedQuad() 434 3, Mesh.TriangleMeshBuilder.TEXTURE_0); in getScreenAlignedQuad()
|
D | Renderable.java | 35 import android.renderscript.Mesh; 77 public void setMesh(Mesh mesh) { in setMesh() 114 public void resolveMeshData(Mesh mesh) { in resolveMeshData()
|
/frameworks/base/docs/html/guide/topics/graphics/renderscript/ |
D | graphics.jd | 316 Mesh.AllocationBuilder smb = new Mesh.AllocationBuilder(mRS); 318 smb.addIndexSetType(Mesh.Primitive.POINT); 319 Mesh sm = smb.create(); 545 android.renderscript.Mesh} and draw it with <code>rsgDrawMesh()</code>. A {@link 546 android.renderscript.Mesh} is a collection of allocations that represent vertex data (positions, 548 and lines with the provided vertex data. You can build a Mesh in three different ways:</p> 551 <li>Build the mesh with the {@link android.renderscript.Mesh.TriangleMeshBuilder} class, which 555 android.renderscript.Allocation}s with the {@link android.renderscript.Mesh.AllocationBuilder} 559 <li>Build the mesh with the {@link android.renderscript.Mesh.Builder} class. You should use 562 android.renderscript.Mesh.AllocationBuilder}. You can specify the types that you want and this [all …]
|
/frameworks/support/renderscript/v8/rs_support/ |
D | rs_hal.h | 44 class Mesh; variable 243 bool (*init)(const Context *rsc, const Mesh *m); 244 … void (*draw)(const Context *rsc, const Mesh *m, uint32_t primIndex, uint32_t start, uint32_t len); 245 void (*destroy)(const Context *rsc, const Mesh *m);
|