Home
last modified time | relevance | path

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

12

/frameworks/native/services/surfaceflinger/RenderEngine/
DMesh.cpp23 Mesh::Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordSize) in Mesh() function in android::Mesh
55 Mesh::~Mesh() { in ~Mesh()
59 Mesh::Primitive Mesh::getPrimitive() const { in getPrimitive()
64 float const* Mesh::getPositions() const { in getPositions()
67 float* Mesh::getPositions() { in getPositions()
71 float const* Mesh::getTexCoords() const { in getTexCoords()
74 float* Mesh::getTexCoords() { in getTexCoords()
79 size_t Mesh::getVertexCount() const { in getVertexCount()
83 size_t Mesh::getVertexSize() const { in getVertexSize()
87 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;
DGLES20RenderEngine.h36 class Mesh; variable
108 virtual void drawMesh(const Mesh& mesh);
DRenderEngine.h38 class Mesh; variable
121 virtual void drawMesh(const Mesh& mesh) = 0;
DRenderEngine.cpp204 Mesh mesh(Mesh::TRIANGLES, c*6, 2); in fillRegionWithColor()
205 Mesh::VertexArray<vec2> position(mesh.getPositionArray<vec2>()); in fillRegionWithColor()
/frameworks/rs/
DrsApiMesh.cpp20 using android::renderscript::Mesh;
23 Mesh *sm = static_cast<Mesh *>(mv); in rsaMeshGetVertexBufferCount()
28 Mesh *sm = static_cast<Mesh *>(mv); in rsaMeshGetIndexCount()
33 Mesh *sm = static_cast<Mesh *>(mv); in rsaMeshGetVertices()
43 Mesh *sm = static_cast<Mesh *>(mv); in rsaMeshGetIndices()
DrsMesh.cpp24 Mesh::Mesh(Context *rsc) : ObjectBase(rsc) { in Mesh() function in android::renderscript::Mesh
38 Mesh::Mesh(Context *rsc, in Mesh() function in android::renderscript::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 explicit Mesh(Context *);
59 Mesh(Context *, uint32_t vertexBuffersCount, uint32_t primitivesCount);
60 ~Mesh();
64 static Mesh *createFromStream(Context *rsc, IStream *stream);
DrsScriptC_LibGL.cpp151 void rsrDrawMesh(Context *rsc, Mesh *sm) { in rsrDrawMesh()
159 void rsrDrawMeshPrimitive(Context *rsc, Mesh *sm, uint32_t primIndex) { in rsrDrawMeshPrimitive()
167 void rsrDrawMeshPrimitiveRange(Context *rsc, Mesh *sm, uint32_t primIndex, in rsrDrawMeshPrimitiveRange()
176 void rsrMeshComputeBoundingBox(Context *rsc, Mesh *sm, in rsrMeshComputeBoundingBox()
DrsRuntime.h62 void rsrDrawMesh(Context *, Mesh *);
63 void rsrDrawMeshPrimitive(Context *, Mesh *, uint32_t primIndex);
64 void rsrDrawMeshPrimitiveRange(Context *, Mesh *,
66 void rsrMeshComputeBoundingBox(Context *, Mesh *,
Drs_hal.h94 class Mesh; variable
347 bool (*init)(const Context *rsc, const Mesh *m);
348 … void (*draw)(const Context *rsc, const Mesh *m, uint32_t primIndex, uint32_t start, uint32_t len);
349 void (*destroy)(const Context *rsc, const Mesh *m);
/frameworks/rs/driver/
DrsdMesh.cpp28 using android::renderscript::Mesh;
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()
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;
DrsdMeshObj.cpp34 using android::renderscript::Mesh;
36 RsdMeshObj::RsdMeshObj(const Context *rsc, const Mesh *rsMesh) { in RsdMeshObj()
/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
350 public Mesh create() { in create()
395 Mesh newMesh = new Mesh(id, mRS); in create()
511 public Mesh create() { in create()
539 Mesh newMesh = new Mesh(id, mRS); in create()
792 public Mesh create(boolean uploadToBufferObject) { in create()
817 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/tests/java_api/Balls/src/com/example/android/rs/balls/
DBallsRS.java114 Mesh.AllocationBuilder smb = new Mesh.AllocationBuilder(mRS); in init()
116 smb.addIndexSetType(Mesh.Primitive.POINT); in init()
117 Mesh smP = smb.create(); in init()
/frameworks/native/services/surfaceflinger/
DLayerDim.cpp51 Mesh mesh(Mesh::TRIANGLE_FAN, 4, 2); in onDraw()
DAndroid.mk35 RenderEngine/Mesh.cpp \
DLayer.h251 void computeGeometry(const sp<const DisplayDevice>& hw, Mesh& mesh,
746 mutable Mesh mMesh;
/frameworks/base/libs/hwui/
DGlop.h91 struct Mesh { struct
/frameworks/base/libs/hwui/tests/unit/
DGlopBuilderTests.cpp61 static void expectMeshEq(Glop::Mesh& expectedMesh, Glop::Mesh& builtMesh) { in expectMeshEq()
/frameworks/base/libs/hwui/renderstate/
DRenderState.cpp261 const Glop::Mesh& mesh = glop.mesh; in render()
262 const Glop::Mesh::Vertices& vertices = mesh.vertices; in render()
263 const Glop::Mesh::Indices& indices = mesh.indices; in render()
/frameworks/rs/driver/runtime/
Drs_structs.h287 typedef struct Mesh { struct

12