Home
last modified time | relevance | path

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

12

/frameworks/native/libs/renderengine/
DMesh.cpp24 Mesh::Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordSize, in Mesh() function in android::renderengine::Mesh
66 Mesh::Primitive Mesh::getPrimitive() const { in getPrimitive()
70 float const* Mesh::getPositions() const { in getPositions()
73 float* Mesh::getPositions() { in getPositions()
77 float const* Mesh::getTexCoords() const { in getTexCoords()
80 float* Mesh::getTexCoords() { in getTexCoords()
84 float const* Mesh::getCropCoords() const { in getCropCoords()
87 float* Mesh::getCropCoords() { in getCropCoords()
91 float const* Mesh::getShadowColor() const { in getShadowColor()
94 float* Mesh::getShadowColor() { in getShadowColor()
[all …]
/frameworks/av/media/libstagefright/renderfright/
DMesh.cpp24 Mesh::Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordSize, in Mesh() function in android::renderengine::Mesh
66 Mesh::Primitive Mesh::getPrimitive() const { in getPrimitive()
70 float const* Mesh::getPositions() const { in getPositions()
73 float* Mesh::getPositions() { in getPositions()
77 float const* Mesh::getTexCoords() const { in getTexCoords()
80 float* Mesh::getTexCoords() { in getTexCoords()
84 float const* Mesh::getCropCoords() const { in getCropCoords()
87 float* Mesh::getCropCoords() { in getCropCoords()
91 float const* Mesh::getShadowColor() const { in getShadowColor()
94 float* Mesh::getShadowColor() { in getShadowColor()
[all …]
/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 *,
/frameworks/av/media/libstagefright/renderfright/include/renderengine/
DMesh.h27 class Mesh {
37 ~Mesh() = default;
44 friend class Mesh; variable
133 Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordSize,
135 Mesh(const Mesh&);
136 Mesh& operator=(const Mesh&);
137 Mesh const& operator=(const Mesh&) const;
159 class Mesh::Builder {
187 Mesh build() const { in build()
188 return Mesh{mPrimitive, mVertexCount, mVertexSize, mTexCoordsSize, in build()
/frameworks/native/libs/renderengine/include/renderengine/
DMesh.h27 class Mesh {
37 ~Mesh() = default;
44 friend class Mesh; variable
133 Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordSize,
135 Mesh(const Mesh&);
136 Mesh& operator=(const Mesh&);
137 Mesh const& operator=(const Mesh&) const;
159 class Mesh::Builder {
187 Mesh build() const { in build()
188 return Mesh{mPrimitive, mVertexCount, mVertexSize, mTexCoordsSize, in build()
/frameworks/av/media/libstagefright/renderfright/gl/
DGLShadowVertexGenerator.cpp69 void GLShadowVertexGenerator::fillVertices(Mesh::VertexArray<vec2>& position, in fillVertices()
70 Mesh::VertexArray<vec4>& color, in fillVertices()
71 Mesh::VertexArray<vec3>& params) const { in fillVertices()
78 Mesh::VertexArray<vec2>(position, mAmbientShadowVertexCount), in fillVertices()
79 Mesh::VertexArray<vec4>(color, mAmbientShadowVertexCount), in fillVertices()
80 Mesh::VertexArray<vec3>(params, mAmbientShadowVertexCount)); in fillVertices()
DGLShadowVertexGenerator.h27 class Mesh; variable
47 void fillVertices(Mesh::VertexArray<vec2>& position, Mesh::VertexArray<vec4>& color,
48 Mesh::VertexArray<vec3>& params) const;
DGLSkiaShadowPort.h74 Mesh::VertexArray<vec2> position, Mesh::VertexArray<vec4> shadowColor,
75 Mesh::VertexArray<vec3> shadowParams);
DGLSkiaShadowPort.cpp230 Mesh::VertexArray<vec2>& position, in fillInCircleVerts()
231 Mesh::VertexArray<vec4>& shadowColor, in fillInCircleVerts()
232 Mesh::VertexArray<vec3>& shadowParams) { in fillInCircleVerts()
345 static void fillInRRectVerts(const Geometry& args, Mesh::VertexArray<vec2>& position, in fillInRRectVerts()
346 Mesh::VertexArray<vec4>& shadowColor, in fillInRRectVerts()
347 Mesh::VertexArray<vec3>& shadowParams) { in fillInRRectVerts()
478 Mesh::VertexArray<vec2> position, Mesh::VertexArray<vec4> shadowColor, in fillVerticesForGeometry()
479 Mesh::VertexArray<vec3> shadowParams) { in fillVerticesForGeometry()
DGLESRenderEngine.h43 class Mesh; variable
148 FloatRect setupLayerCropping(const LayerSettings& layer, Mesh& mesh);
155 const Mesh& mesh);
179 void drawMesh(const Mesh& mesh);
/frameworks/native/libs/renderengine/gl/
DGLShadowVertexGenerator.cpp69 void GLShadowVertexGenerator::fillVertices(Mesh::VertexArray<vec2>& position, in fillVertices()
70 Mesh::VertexArray<vec4>& color, in fillVertices()
71 Mesh::VertexArray<vec3>& params) const { in fillVertices()
78 Mesh::VertexArray<vec2>(position, mAmbientShadowVertexCount), in fillVertices()
79 Mesh::VertexArray<vec4>(color, mAmbientShadowVertexCount), in fillVertices()
80 Mesh::VertexArray<vec3>(params, mAmbientShadowVertexCount)); in fillVertices()
DGLShadowVertexGenerator.h27 class Mesh; variable
47 void fillVertices(Mesh::VertexArray<vec2>& position, Mesh::VertexArray<vec4>& color,
48 Mesh::VertexArray<vec3>& params) const;
DGLSkiaShadowPort.h74 Mesh::VertexArray<vec2> position, Mesh::VertexArray<vec4> shadowColor,
75 Mesh::VertexArray<vec3> shadowParams);
DGLSkiaShadowPort.cpp230 Mesh::VertexArray<vec2>& position, in fillInCircleVerts()
231 Mesh::VertexArray<vec4>& shadowColor, in fillInCircleVerts()
232 Mesh::VertexArray<vec3>& shadowParams) { in fillInCircleVerts()
345 static void fillInRRectVerts(const Geometry& args, Mesh::VertexArray<vec2>& position, in fillInRRectVerts()
346 Mesh::VertexArray<vec4>& shadowColor, in fillInRRectVerts()
347 Mesh::VertexArray<vec3>& shadowParams) { in fillInRRectVerts()
478 Mesh::VertexArray<vec2> position, Mesh::VertexArray<vec4> shadowColor, in fillVerticesForGeometry()
479 Mesh::VertexArray<vec3> shadowParams) { in fillVerticesForGeometry()
DGLESRenderEngine.h43 class Mesh; variable
159 FloatRect setupLayerCropping(const LayerSettings& layer, Mesh& mesh);
166 const Mesh& mesh);
191 void drawMesh(const Mesh& mesh);
/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;
/frameworks/base/rs/java/android/renderscript/
DMesh.java44 public class Mesh extends BaseObj { class
98 Mesh(long id, RenderScript rs) { in Mesh() method in Mesh
357 public Mesh create() { in create()
402 Mesh newMesh = new Mesh(id, mRS); in create()
523 public Mesh create() { in create()
551 Mesh newMesh = new Mesh(id, mRS); in create()
808 public Mesh create(boolean uploadToBufferObject) { in create()
833 Mesh sm = smb.create(); in create()
DFileA3D.java130 public Mesh getMesh() { in getMesh()
131 return (Mesh)getObject(); in getMesh()
151 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()

12