/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | Mesh.cpp | 21 Mesh::Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordSize) in Mesh() function in android::Mesh 29 Mesh::~Mesh() { in ~Mesh() 33 Mesh::Primitive Mesh::getPrimitive() const { in getPrimitive() 38 float const* Mesh::getPositions() const { in getPositions() 41 float* Mesh::getPositions() { in getPositions() 45 float const* Mesh::getTexCoords() const { in getTexCoords() 48 float* Mesh::getTexCoords() { in getTexCoords() 53 size_t Mesh::getVertexCount() const { in getVertexCount() 57 size_t Mesh::getVertexSize() const { in getVertexSize() 61 size_t Mesh::getTexCoordsSize() const { in getTexCoordsSize() [all …]
|
D | Mesh.h | 24 class Mesh { 32 Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordsSize = 0); 33 ~Mesh(); 40 friend class Mesh; variable 83 Mesh(const Mesh&); 84 Mesh& operator = (const Mesh&); 85 Mesh const& operator = (const Mesh&) const;
|
D | GLES11RenderEngine.h | 34 class Mesh; variable 63 virtual void drawMesh(const Mesh& mesh);
|
D | GLES20RenderEngine.cpp | 220 void GLES20RenderEngine::drawMesh(const Mesh& mesh) { in drawMesh() 297 Mesh mesh(Mesh::TRIANGLE_FAN, 4, 2, 2); in endGroup() 298 Mesh::VertexArray<vec2> position(mesh.getPositionArray<vec2>()); in endGroup() 299 Mesh::VertexArray<vec2> texCoord(mesh.getTexCoordArray<vec2>()); in endGroup()
|
D | GLES20RenderEngine.h | 36 class Mesh; variable 78 virtual void drawMesh(const Mesh& mesh);
|
D | RenderEngine.h | 38 class Mesh; variable 106 virtual void drawMesh(const Mesh& mesh) = 0;
|
/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() 106 Mesh *Mesh::createFromStream(Context *rsc, IStream *stream) { in createFromStream() 147 Mesh *mesh = new Mesh(rsc, vertexBuffersCount, primitivesCount); in createFromStream() 172 void Mesh::render(Context *rsc) const { in render() 178 void Mesh::renderPrimitive(Context *rsc, uint32_t primIndex) const { in renderPrimitive() 192 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 | 66 void rsrDrawMesh(Context *, Mesh *); 67 void rsrDrawMeshPrimitive(Context *, Mesh *, uint32_t primIndex); 68 void rsrDrawMeshPrimitiveRange(Context *, Mesh *, 70 void rsrMeshComputeBoundingBox(Context *, Mesh *,
|
D | rsScriptC_LibGL.cpp | 159 void rsrDrawMesh(Context *rsc, Mesh *sm) { in rsrDrawMesh() 167 void rsrDrawMeshPrimitive(Context *rsc, Mesh *sm, uint32_t primIndex) { in rsrDrawMeshPrimitive() 175 void rsrDrawMeshPrimitiveRange(Context *rsc, Mesh *sm, uint32_t primIndex, in rsrDrawMeshPrimitiveRange() 184 void rsrMeshComputeBoundingBox(Context *rsc, Mesh *sm, in rsrMeshComputeBoundingBox()
|
/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/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/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/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/rs/java/android/renderscript/ |
D | Mesh.java | 40 public class Mesh extends BaseObj { class 92 Mesh(long id, RenderScript rs) { in Mesh() method in Mesh 349 public Mesh create() { in create() 388 Mesh newMesh = new Mesh(id, mRS); in create() 504 public Mesh create() { in create() 532 Mesh newMesh = new Mesh(id, mRS); in create() 785 public Mesh create(boolean uploadToBufferObject) { in create() 810 Mesh sm = smb.create(); in create()
|
D | FileA3D.java | 125 public Mesh getMesh() { in getMesh() 126 return (Mesh)getObject(); in getMesh() 146 entry.mLoadedObj = new Mesh(objectID, rs); in internalCreate()
|
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
D | BallsRS.java | 108 Mesh.AllocationBuilder smb = new Mesh.AllocationBuilder(mRS); in init() 110 smb.addIndexSetType(Mesh.Primitive.POINT); in init() 111 Mesh smP = smb.create(); in init()
|
/frameworks/native/services/surfaceflinger/ |
D | LayerDim.cpp | 47 Mesh mesh(Mesh::TRIANGLE_FAN, 4, 2); in onDraw()
|
/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()
|