/frameworks/rs/driver/runtime/ |
H A D | rs_mesh.c | 10 Mesh_t *mesh = (Mesh_t *)m.p; local 11 if (mesh == NULL) { 14 return mesh->mHal.state.vertexBuffersCount; 19 Mesh_t *mesh = (Mesh_t *)m.p; local 20 if (mesh == NULL) { 23 return mesh->mHal.state.primitivesCount; 28 Mesh_t *mesh = (Mesh_t *)m.p; local 29 if (mesh == NULL || index >= mesh->mHal.state.vertexBuffersCount) { 33 rs_allocation returnAlloc = {mesh 39 Mesh_t *mesh = (Mesh_t *)m.p; local 50 Mesh_t *mesh = (Mesh_t *)m.p; local [all...] |
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
H A D | UT_mesh.java | 27 Mesh mesh; field in class:UT_mesh
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | Renderable.java | 77 public void setMesh(Mesh mesh) { argument 78 mData.mesh = mesh; 80 mField.set_mesh(0, mData.mesh, true); 84 public void setMesh(String mesh, String indexName) { argument 85 mMeshName = mesh; 114 public void resolveMeshData(Mesh mesh) { argument 115 mData.mesh = mesh; 116 if (mData.mesh [all...] |
/frameworks/base/libs/hwui/ |
H A D | PatchCache.cpp | 168 * Sets the mesh's offsets and copies its associated vertices into 169 * the mesh buffer (VBO). 182 // Find a block where we can fit the mesh 186 // The mesh fits 203 // Copy the 9patch mesh in the VBO 229 const Patch* mesh = mCache.get(description); local 231 if (!mesh) { 256 return mesh;
|
H A D | Layer.h | 277 * If the layer can be rendered as a mesh, this is non-null. 279 TextureVertex* mesh; member in struct:android::uirenderer::Layer
|
H A D | 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...] |
H A D | FontRenderer.cpp | 293 if (!cacheTexture->mesh()) { 516 TextureVertex* mesh = texture->mesh(); local 517 caches.bindPositionVertexPointer(force, &mesh[0].position[0]); 518 caches.bindTexCoordsVertexPointer(force, &mesh[0].texture[0]);
|
H A D | OpenGLRenderer.cpp | 1214 // We must get (and therefore bind) the region mesh buffer 1217 TextureVertex* mesh = mCaches.getRegionMesh(); local 1239 setupDrawMeshIndices(&mesh[0].position[0], &mesh[0].texture[0]); 1250 TextureVertex::set(mesh++, r->left, r->top, u1, v1); 1251 TextureVertex::set(mesh++, r->right, r->top, u2, v1); 1252 TextureVertex::set(mesh++, r->left, r->bottom, u1, v2); 1253 TextureVertex::set(mesh++, r->right, r->bottom, u2, v2); 1261 mesh = mCaches.getRegionMesh(); 1348 void OpenGLRenderer::drawIndexedQuads(Vertex* mesh, GLsize argument 1377 Vertex mesh[count * 4]; local 2218 ColorTextureVertex mesh[count]; local 2419 const Patch* mesh = mCaches.patchCache.get(entry, bitmap->width(), bitmap->height(), local 2425 drawPatch(SkBitmap* bitmap, const Patch* mesh, AssetAtlas::Entry* entry, float left, float top, float right, float bottom, SkPaint* paint) argument 3118 TextureVertex* mesh = &layer->mesh[0]; local 3346 Vertex mesh[count]; local [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | GLES11RenderEngine.cpp | 219 void GLES11RenderEngine::drawMesh(const Mesh& mesh) { argument 220 if (mesh.getTexCoordsSize()) { 222 glTexCoordPointer(mesh.getTexCoordsSize(), 224 mesh.getByteStride(), 225 mesh.getTexCoords()); 228 glVertexPointer(mesh.getVertexSize(), 230 mesh.getByteStride(), 231 mesh.getPositions()); 233 glDrawArrays(mesh.getPrimitive(), 0, mesh [all...] |
H A D | GLES20RenderEngine.cpp | 186 void GLES20RenderEngine::drawMesh(const Mesh& mesh) { argument 190 if (mesh.getTexCoordsSize()) { 193 mesh.getTexCoordsSize(), 195 mesh.getByteStride(), 196 mesh.getTexCoords()); 200 mesh.getVertexSize(), 202 mesh.getByteStride(), 203 mesh.getPositions()); 205 glDrawArrays(mesh.getPrimitive(), 0, mesh [all...] |
/frameworks/rs/ |
H A D | rsMesh.cpp | 64 mRSC->mHal.funcs.mesh.destroy(mRSC, this); 77 mRSC->mHal.funcs.mesh.init(mRSC, this); 110 ALOGE("mesh loading skipped due to invalid class id"); 147 Mesh *mesh = new Mesh(rsc, vertexBuffersCount, primitivesCount); local 148 mesh->assignName(name); 150 mesh->setVertexBuffer(vertexBuffers[vCount].get(), vCount); 153 mesh->setPrimitive(indexBuffers[pCount].get(), primitives[pCount], pCount); 166 mesh->init(); 167 mesh->uploadAll(rsc); 169 return mesh; [all...] |
H A D | rs_hal.h | 260 } mesh; member in struct:android::renderscript::__anon1651
|
/frameworks/base/libs/hwui/font/ |
H A D | 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/ex/carousel/java/com/android/ex/carousel/ |
H A D | CarouselController.java | 152 * @return the loaded mesh or null if it cannot be loaded 164 * @param mesh The geometry for that item 167 public void setGeometryForItem(int n, Mesh mesh) { argument 169 mRenderScript.setGeometry(n, mesh); 181 Mesh mesh = mRenderScript.loadGeometry(resId); 182 mRenderScript.setGeometry(n, mesh); 529 * @param mesh 534 Mesh mesh = mRenderScript.loadGeometry(resId); 535 mRenderScript.setDefaultGeometry(mesh); 565 Mesh mesh [all...] |
H A D | CarouselView.java | 200 * @return the loaded mesh or null if it cannot be loaded 209 * @param mesh 211 public void setGeometryForItem(int n, Mesh mesh) { argument 212 mController.setGeometryForItem(n, mesh);
|
H A D | CarouselRS.java | 619 public void setDefaultGeometry(Mesh mesh) argument 621 mScript.set_defaultGeometry(mesh); 624 public void setLoadingGeometry(Mesh mesh) argument 626 mScript.set_loadingGeometry(mesh);
|
/frameworks/base/graphics/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1499 nMeshGetVertexBufferCount(JNIEnv *_env, jobject _this, RsContext con, jint mesh) argument 1501 LOG_API("nMeshGetVertexBufferCount, con(%p), Mesh(%p)", con, (RsMesh)mesh); 1503 rsaMeshGetVertexBufferCount(con, (RsMesh)mesh, &vtxCount); 1508 nMeshGetIndexCount(JNIEnv *_env, jobject _this, RsContext con, jint mesh) argument 1510 LOG_API("nMeshGetIndexCount, con(%p), Mesh(%p)", con, (RsMesh)mesh); 1512 rsaMeshGetIndexCount(con, (RsMesh)mesh, &idxCount); 1517 nMeshGetVertices(JNIEnv *_env, jobject _this, RsContext con, jint mesh, jintArray _ids, int numVtxIDs) argument 1519 LOG_API("nMeshGetVertices, con(%p), Mesh(%p)", con, (RsMesh)mesh); 1522 rsaMeshGetVertices(con, (RsMesh)mesh, allocs, (uint32_t)numVtxIDs); 1532 nMeshGetIndices(JNIEnv *_env, jobject _this, RsContext con, jint mesh, jintArra argument [all...] |