Home
last modified time | relevance | path

Searched refs:Mesh (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/native/services/surfaceflinger/RenderEngine/
DMesh.cpp21 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 …]
DMesh.h24 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;
DGLES11RenderEngine.h34 class Mesh; variable
63 virtual void drawMesh(const Mesh& mesh);
DGLES20RenderEngine.cpp220 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()
DGLES20RenderEngine.h36 class Mesh; variable
78 virtual void drawMesh(const Mesh& mesh);
DRenderEngine.h38 class Mesh; variable
106 virtual void drawMesh(const Mesh& mesh) = 0;
/frameworks/rs/
DrsMesh.cpp24 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 …]
DrsMesh.h36 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);
DrsRuntime.h66 void rsrDrawMesh(Context *, Mesh *);
67 void rsrDrawMeshPrimitive(Context *, Mesh *, uint32_t primIndex);
68 void rsrDrawMeshPrimitiveRange(Context *, Mesh *,
70 void rsrMeshComputeBoundingBox(Context *, Mesh *,
DrsScriptC_LibGL.cpp159 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/
DMeshTest.java29 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()
DUiTest.java32 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/
DFountainFboRS.java22 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/
DrsdMesh.h24 const android::renderscript::Mesh *m);
26 const android::renderscript::Mesh *m,
29 const android::renderscript::Mesh *m);
DrsdMeshObj.h25 class Mesh; variable
37 const android::renderscript::Mesh *);
46 const android::renderscript::Mesh *mRSMesh;
DrsdMesh.cpp30 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/
DFountainRS.java44 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/
DFountainRS.java44 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/
DSimpleAppRS.java43 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/
DMesh.java40 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()
DFileA3D.java125 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/
DBallsRS.java108 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/
DLayerDim.cpp47 Mesh mesh(Mesh::TRIANGLE_FAN, 4, 2); in onDraw()
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
DRsRenderStatesRS.java107 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/
DSceneManager.java44 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()

12