/frameworks/rs/driver/runtime/ |
rs_mesh.c | 8 * Mesh 12 Mesh_t *mesh = (Mesh_t *)m.p; local 13 if (mesh == NULL) { 16 return mesh->mHal.state.vertexBuffersCount; 21 Mesh_t *mesh = (Mesh_t *)m.p; local 22 if (mesh == NULL) { 25 return mesh->mHal.state.primitivesCount; 30 Mesh_t *mesh = (Mesh_t *)m.p; local 31 if (mesh == NULL || index >= mesh->mHal.state.vertexBuffersCount) 41 Mesh_t *mesh = (Mesh_t *)m.p; local 52 Mesh_t *mesh = (Mesh_t *)m.p; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
d3d11u.h | 80 struct mesh struct 90 mesh(ID3D11Device* dev, D3D11_PRIMITIVE_TOPOLOGY topology, function in struct:mesh 126 ~mesh() 157 mesh* create_tex_quad(ID3D11Device* dev, const BYTE* vs, unsigned vs_size) 172 return new mesh(dev, D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP, 181 mesh* quad;
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
d3d11u.h | 80 struct mesh struct 90 mesh(ID3D11Device* dev, D3D11_PRIMITIVE_TOPOLOGY topology, function in struct:mesh 126 ~mesh() 157 mesh* create_tex_quad(ID3D11Device* dev, const BYTE* vs, unsigned vs_size) 172 return new mesh(dev, D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP, 181 mesh* quad;
|
/frameworks/base/libs/hwui/ |
PatchCache.cpp | 184 * Sets the mesh's offsets and copies its associated vertices into 185 * the mesh buffer (VBO). 198 // Find a block where we can fit the mesh 202 // The mesh fits 219 // Copy the 9patch mesh in the VBO 246 const Patch* mesh = mCache.get(description); local 248 if (!mesh) { 273 return mesh;
|
LayerRenderer.cpp | 131 if (mLayer->mesh) { 132 delete[] mLayer->mesh; 133 mLayer->mesh = NULL; 152 if (mLayer->mesh && mLayer->meshElementCount < elementCount) { 153 delete[] mLayer->mesh; 154 mLayer->mesh = NULL; 157 if (!mLayer->mesh) { 158 mLayer->mesh = new TextureVertex[count * 4]; 166 TextureVertex* mesh = mLayer->mesh; local [all...] |
FontRenderer.cpp | 294 if (!cacheTexture->mesh()) { 517 TextureVertex* mesh = texture->mesh(); local 518 caches.bindPositionVertexPointer(force, &mesh[0].x); 519 caches.bindTexCoordsVertexPointer(force, &mesh[0].u);
|
Layer.h | 307 * If the layer can be rendered as a mesh, this is non-null. 309 TextureVertex* mesh; member in class:android::uirenderer::Layer
|
OpenGLRenderer.cpp | 1168 TextureVertex* mesh = mCaches.getRegionMesh(); local 1330 Vertex mesh[count * 4]; local 2099 Vector<ColorTextureVertex> mesh; \/\/ TODO: use C++11 unique_ptr local 2297 const Patch* mesh = mCaches.patchCache.get(entry, bitmap->width(), bitmap->height(), local 3003 TextureVertex* mesh = &layer->mesh[0]; local 3242 Vertex mesh[count]; local [all...] |
/frameworks/rs/ |
rsMesh.cpp | 24 Mesh::Mesh(Context *rsc) : ObjectBase(rsc) { 38 Mesh::Mesh(Context *rsc, 62 Mesh::~Mesh() { 64 mRSC->mHal.funcs.mesh.destroy(mRSC, this); 75 void Mesh::init() { 77 mRSC->mHal.funcs.mesh.init(mRSC, this); 81 void Mesh::serialize(Context *rsc, OStream *stream) const 147 Mesh *mesh = new Mesh(rsc, vertexBuffersCount, primitivesCount); local [all...] |
rs_hal.h | 44 class Mesh; 278 bool (*init)(const Context *rsc, const Mesh *m); 279 void (*draw)(const Context *rsc, const Mesh *m, uint32_t primIndex, uint32_t start, uint32_t len); 280 void (*destroy)(const Context *rsc, const Mesh *m); 281 } mesh; member in struct:android::renderscript::__anon39072
|
/external/chromium_org/third_party/skia/src/utils/ |
SkNinePatch.cpp | 96 struct Mesh { 133 Mesh mesh; local 197 mesh.fVerts = verts; 198 mesh.fTexs = texs; 199 mesh.fColors = NULL; 200 mesh.fIndices = NULL; 204 mesh.fIndices = g3x3Indices; 208 mesh.fIndices = indices; 248 mesh.fVerts, mesh.fTexs, mesh.fColors, NULL [all...] |
/external/skia/src/utils/ |
SkNinePatch.cpp | 96 struct Mesh { 133 Mesh mesh; local 197 mesh.fVerts = verts; 198 mesh.fTexs = texs; 199 mesh.fColors = NULL; 200 mesh.fIndices = NULL; 204 mesh.fIndices = g3x3Indices; 208 mesh.fIndices = indices; 248 mesh.fVerts, mesh.fTexs, mesh.fColors, NULL [all...] |
/frameworks/base/libs/hwui/font/ |
CacheTexture.h | 141 TextureVertex* mesh() const { function in class:android::uirenderer::CacheTexture 161 TextureVertex* mesh = mMesh + mCurrentQuad * 4; local 162 TextureVertex::set(mesh++, x2, y2, u2, v2); 163 TextureVertex::set(mesh++, x3, y3, u3, v3); 164 TextureVertex::set(mesh++, x1, y1, u1, v1); 165 TextureVertex::set(mesh++, x4, y4, u4, v4);
|
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
FBOSyncRS.java | 135 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { 145 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { 146 Mesh mesh = entry.getMesh(); local 147 mMeshes.set_mMesh(i, mesh, false); 148 mMeshes.set_mNumIndexSets(i, mesh.getPrimitiveCount(), false);
|
FBOTestRS.java | 134 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { 144 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { 145 Mesh mesh = entry.getMesh(); local 146 mMeshes.set_mMesh(i, mesh, false); 147 mMeshes.set_mNumIndexSets(i, mesh.getPrimitiveCount(), false);
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
SimpleModelRS.java | 133 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { 143 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { 144 Mesh mesh = entry.getMesh(); local 145 mMeshes.set_mMesh(i, mesh, false); 146 mMeshes.set_mNumIndexSets(i, mesh.getPrimitiveCount(), false);
|
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/ |
ShadersTestRS.java | 25 import android.renderscript.Mesh; 146 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { 156 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) { 157 Mesh mesh = entry.getMesh(); local 158 mMeshes.set_mMesh(i, mesh, false); 159 mMeshes.set_mNumIndexSets(i, mesh.getPrimitiveCount(), false);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11gears/ |
d3d11gears.cpp | 47 struct mesh* mesh; member in struct:gear 86 static mesh* build_gear(ID3D11Device* dev, int triangle_budget, float inner_radius, float outer_radius, float width, int teeth, float tooth_depth) 230 return new mesh(dev, D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST, 297 gears[i].mesh->bind_and_draw(ctx); 516 gears[0].mesh = build_gear(dev, triangles / 2, 1.0f, 4.0f, 1.0f, 20, 0.7f); 517 gears[1].mesh = build_gear(dev, triangles / 4, 0.5f, 2.0f, 2.0f, 10, 0.7f); 518 gears[2].mesh = build_gear(dev, triangles / 4, 1.3f, 2.0f, 0.5f, 10, 0.7f);
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11gears/ |
d3d11gears.cpp | 47 struct mesh* mesh; member in struct:gear 86 static mesh* build_gear(ID3D11Device* dev, int triangle_budget, float inner_radius, float outer_radius, float width, int teeth, float tooth_depth) 230 return new mesh(dev, D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST, 297 gears[i].mesh->bind_and_draw(ctx); 516 gears[0].mesh = build_gear(dev, triangles / 2, 1.0f, 4.0f, 1.0f, 20, 0.7f); 517 gears[1].mesh = build_gear(dev, triangles / 4, 0.5f, 2.0f, 2.0f, 10, 0.7f); 518 gears[2].mesh = build_gear(dev, triangles / 4, 1.3f, 2.0f, 0.5f, 10, 0.7f);
|
/prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/ |
rs_hal.h | 44 class Mesh; 257 bool (*init)(const Context *rsc, const Mesh *m); 258 void (*draw)(const Context *rsc, const Mesh *m, uint32_t primIndex, uint32_t start, uint32_t len); 259 void (*destroy)(const Context *rsc, const Mesh *m); 260 } mesh; member in struct:android::renderscript::__anon73812
|
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/ |
rs_hal.h | 44 class Mesh; 257 bool (*init)(const Context *rsc, const Mesh *m); 258 void (*draw)(const Context *rsc, const Mesh *m, uint32_t primIndex, uint32_t start, uint32_t len); 259 void (*destroy)(const Context *rsc, const Mesh *m); 260 } mesh; member in struct:android::renderscript::__anon75110
|
/prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/ |
rs_hal.h | 44 class Mesh; 257 bool (*init)(const Context *rsc, const Mesh *m); 258 void (*draw)(const Context *rsc, const Mesh *m, uint32_t primIndex, uint32_t start, uint32_t len); 259 void (*destroy)(const Context *rsc, const Mesh *m); 260 } mesh; member in struct:android::renderscript::__anon76420
|