/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | Mesh.cpp | 17 #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 D | Mesh.h | 24 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 D | GLES20RenderEngine.h | 36 class Mesh; 108 virtual void drawMesh(const Mesh& mesh);
|
H A D | RenderEngine.h | 38 class Mesh; 121 virtual void drawMesh(const Mesh& mesh) = 0;
|
H A D | RenderEngine.cpp | 24 #include "Mesh.h" 204 Mesh mesh(Mesh::TRIANGLES, c*6, 2); 205 Mesh::VertexArray<vec2> position(mesh.getPositionArray<vec2>());
|
/frameworks/rs/driver/ |
H A D | rsdMesh.h | 24 const android::renderscript::Mesh *m); 26 const android::renderscript::Mesh *m, 29 const android::renderscript::Mesh *m);
|
H A D | rsdMeshObj.h | 25 class Mesh; 37 const android::renderscript::Mesh *); 46 const android::renderscript::Mesh *mRSMesh;
|
H A D | rsdMesh.cpp | 28 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 D | rsdMeshObj.cpp | 34 using android::renderscript::Mesh; 36 RsdMeshObj::RsdMeshObj(const Context *rsc, const Mesh *rsMesh) { 185 rsdGLCheckError(rsc, "Mesh::renderPrimitiveRange");
|
/frameworks/rs/ |
H A D | rsApiMesh.cpp | 20 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 D | rsMesh.h | 36 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 D | rsMesh.cpp | 24 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 D | rsRuntime.h | 62 void rsrDrawMesh(Context *, Mesh *); 63 void rsrDrawMeshPrimitive(Context *, Mesh *, uint32_t primIndex); 64 void rsrDrawMeshPrimitiveRange(Context *, Mesh *, 66 void rsrMeshComputeBoundingBox(Context *, Mesh *,
|
H A D | rsScriptC_LibGL.cpp | 151 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 D | rs_hal.h | 94 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 D | rsFont.h | 238 ObjectBaseRef<Mesh> mMesh;
|
/frameworks/native/services/surfaceflinger/ |
H A D | LayerDim.cpp | 51 Mesh mesh(Mesh::TRIANGLE_FAN, 4, 2);
|
H A D | Android.mk | 35 RenderEngine/Mesh.cpp \
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | FileA3D.java | 54 * RenderScript Mesh object 125 public Mesh getMesh() { 126 return (Mesh)getObject(); 146 entry.mLoadedObj = new Mesh(objectID, rs);
|
H A D | Mesh.java | 40 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 D | Glop.h | 45 // 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 D | BallsRS.java | 114 Mesh.AllocationBuilder smb = new Mesh.AllocationBuilder(mRS); 116 smb.addIndexSetType(Mesh.Primitive.POINT); 117 Mesh smP = smb.create();
|
/frameworks/rs/driver/runtime/ |
H A D | rs_structs.h | 274 * internal members of the C++ class Mesh owned by librs. Unfortunately, 287 typedef struct Mesh { struct
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | GlopBuilderTests.cpp | 61 static void expectMeshEq(Glop::Mesh& expectedMesh, Glop::Mesh& builtMesh) {
|
/frameworks/base/libs/hwui/renderstate/ |
H A D | RenderState.cpp | 261 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 ----------
|