Searched refs:Mesh (Results 1 - 25 of 33) sorted by relevance

12

/frameworks/native/services/surfaceflinger/RenderEngine/
H A DMesh.cpp17 #include "Mesh.h"
23 Mesh::Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordSize) function in class:android::Mesh
40 ALOGE("Overflow in Mesh(..., %zu, %zu, %zu)", vertexCount, vertexSize,
55 Mesh::~Mesh() {
59 Mesh::Primitive Mesh::getPrimitive() const {
64 float const* Mesh::getPositions() const {
67 float* Mesh
[all...]
H A DMesh.h24 class Mesh { class in namespace:android
32 Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordsSize = 0);
33 ~Mesh();
40 friend class Mesh;
83 Mesh(const Mesh&);
84 Mesh& operator = (const Mesh&);
85 Mesh const& operator = (const Mesh
[all...]
H A DGLES20RenderEngine.h36 class Mesh;
108 virtual void drawMesh(const Mesh& mesh);
H A DRenderEngine.h38 class Mesh;
121 virtual void drawMesh(const Mesh& mesh) = 0;
H A DRenderEngine.cpp24 #include "Mesh.h"
204 Mesh mesh(Mesh::TRIANGLES, c*6, 2);
205 Mesh::VertexArray<vec2> position(mesh.getPositionArray<vec2>());
/frameworks/rs/driver/
H A DrsdMesh.h24 const android::renderscript::Mesh *m);
26 const android::renderscript::Mesh *m,
29 const android::renderscript::Mesh *m);
H A DrsdMeshObj.h25 class Mesh;
37 const android::renderscript::Mesh *);
46 const android::renderscript::Mesh *mRSMesh;
H A DrsdMesh.cpp28 using android::renderscript::Mesh;
30 bool rsdMeshInit(const Context *rsc, const Mesh *m) {
41 void rsdMeshDraw(const Context *rsc, const Mesh *m, uint32_t primIndex, uint32_t start, uint32_t len) {
53 void rsdMeshDestroy(const Context *rsc, const Mesh *m) {
H A DrsdMeshObj.cpp34 using android::renderscript::Mesh;
36 RsdMeshObj::RsdMeshObj(const Context *rsc, const Mesh *rsMesh) {
185 rsdGLCheckError(rsc, "Mesh::renderPrimitiveRange");
/frameworks/rs/
H A DrsApiMesh.cpp20 using android::renderscript::Mesh;
23 Mesh *sm = static_cast<Mesh *>(mv);
28 Mesh *sm = static_cast<Mesh *>(mv);
33 Mesh *sm = static_cast<Mesh *>(mv);
43 Mesh *sm = static_cast<Mesh *>(mv);
H A DrsMesh.h36 class Mesh : public ObjectBase { class in namespace:android::renderscript
58 explicit Mesh(Context *);
59 Mesh(Context *, uint32_t vertexBuffersCount, uint32_t primitivesCount);
60 ~Mesh();
64 static Mesh *createFromStream(Context *rsc, IStream *stream);
H A DrsMesh.cpp24 Mesh::Mesh(Context *rsc) : ObjectBase(rsc) { function in class:android::renderscript::Mesh
38 Mesh::Mesh(Context *rsc, function in class:android::renderscript::Mesh
62 Mesh::~Mesh() {
75 void Mesh::init() {
81 void Mesh::serialize(Context *rsc, OStream *stream) const {
106 Mesh *Mesh
[all...]
H A DrsRuntime.h62 void rsrDrawMesh(Context *, Mesh *);
63 void rsrDrawMeshPrimitive(Context *, Mesh *, uint32_t primIndex);
64 void rsrDrawMeshPrimitiveRange(Context *, Mesh *,
66 void rsrMeshComputeBoundingBox(Context *, Mesh *,
H A DrsScriptC_LibGL.cpp151 void rsrDrawMesh(Context *rsc, Mesh *sm) {
159 void rsrDrawMeshPrimitive(Context *rsc, Mesh *sm, uint32_t primIndex) {
167 void rsrDrawMeshPrimitiveRange(Context *rsc, Mesh *sm, uint32_t primIndex,
176 void rsrMeshComputeBoundingBox(Context *rsc, Mesh *sm,
H A Drs_hal.h94 class Mesh;
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);
H A DrsFont.h238 ObjectBaseRef<Mesh> mMesh;
/frameworks/native/services/surfaceflinger/
H A DLayerDim.cpp51 Mesh mesh(Mesh::TRIANGLE_FAN, 4, 2);
H A DAndroid.mk35 RenderEngine/Mesh.cpp \
/frameworks/base/rs/java/android/renderscript/
H A DFileA3D.java54 * RenderScript Mesh object
125 public Mesh getMesh() {
126 return (Mesh)getObject();
146 entry.mLoadedObj = new Mesh(objectID, rs);
H A DMesh.java40 public class Mesh extends BaseObj { class in inherits:BaseObj
92 Mesh(long id, RenderScript rs) { method in class:Mesh
185 * Mesh builder object. It starts empty and requires you to
347 * Create a Mesh object from the current state of the builder
350 public Mesh create() {
395 Mesh newMesh = new Mesh(id, mRS);
406 * Mesh builder object. It starts empty and requires the user to
508 * Create a Mesh object from the current state of the builder
511 public Mesh creat
[all...]
/frameworks/base/libs/hwui/
H A DGlop.h45 // Mesh is pure x,y vertex pairs
47 // Mesh has texture coordinates embedded. Note that texture can exist without this flag
50 // Mesh has color embedded (to export to varying)
52 // Mesh has alpha embedded (to export to varying)
91 struct Mesh { struct in struct:android::uirenderer::Glop
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
H A DBallsRS.java114 Mesh.AllocationBuilder smb = new Mesh.AllocationBuilder(mRS);
116 smb.addIndexSetType(Mesh.Primitive.POINT);
117 Mesh smP = smb.create();
/frameworks/rs/driver/runtime/
H A Drs_structs.h274 * internal members of the C++ class Mesh owned by librs. Unfortunately,
287 typedef struct Mesh { struct
/frameworks/base/libs/hwui/tests/unit/
H A DGlopBuilderTests.cpp61 static void expectMeshEq(Glop::Mesh& expectedMesh, Glop::Mesh& builtMesh) {
/frameworks/base/libs/hwui/renderstate/
H A DRenderState.cpp261 const Glop::Mesh& mesh = glop.mesh;
262 const Glop::Mesh::Vertices& vertices = mesh.vertices;
263 const Glop::Mesh::Indices& indices = mesh.indices;
314 // ---------- Mesh setup ----------
442 // ---------- Mesh teardown ----------

Completed in 237 milliseconds

12