/frameworks/rs/driver/runtime/ |
D | rs_mesh.c | 12 Mesh_t *mesh = (Mesh_t *)m.p; in rsgMeshGetVertexAllocationCount() local 13 if (mesh == NULL) { in rsgMeshGetVertexAllocationCount() 16 return mesh->mHal.state.vertexBuffersCount; in rsgMeshGetVertexAllocationCount() 21 Mesh_t *mesh = (Mesh_t *)m.p; in rsgMeshGetPrimitiveCount() local 22 if (mesh == NULL) { in rsgMeshGetPrimitiveCount() 25 return mesh->mHal.state.primitivesCount; in rsgMeshGetPrimitiveCount() 30 Mesh_t *mesh = (Mesh_t *)m.p; in rsgMeshGetVertexAllocation() local 31 if (mesh == NULL || index >= mesh->mHal.state.vertexBuffersCount) { in rsgMeshGetVertexAllocation() 35 rs_allocation returnAlloc = {mesh->mHal.state.vertexBuffers[index]}; in rsgMeshGetVertexAllocation() 43 Mesh_t *mesh = (Mesh_t *)m.p; in rsgMeshGetIndexAllocation() local [all …]
|
/frameworks/native/libs/renderengine/gl/ |
D | GLESRenderEngine.cpp | 555 Mesh mesh = Mesh::Builder() in fillRegionWithColor() local 559 Mesh::VertexArray<vec2> position(mesh.getPositionArray<vec2>()); in fillRegionWithColor() 575 drawMesh(mesh); in fillRegionWithColor() 754 FloatRect GLESRenderEngine::setupLayerCropping(const LayerSettings& layer, Mesh& mesh) { in setupLayerCropping() argument 763 Mesh::VertexArray<vec2> cropCoords(mesh.getCropCoordArray<vec2>()); in setupLayerCropping() 774 const LayerSettings& layer, const Mesh& mesh) { in handleRoundedCorners() argument 844 drawMesh(mesh); in handleRoundedCorners() 847 drawMesh(mesh); in handleRoundedCorners() 856 drawMesh(mesh); in handleRoundedCorners() 1059 Mesh mesh = Mesh::Builder() in drawLayers() local [all …]
|
D | GLESRenderEngine.h | 142 FloatRect setupLayerCropping(const LayerSettings& layer, Mesh& mesh); 149 const Mesh& mesh); 173 void drawMesh(const Mesh& mesh);
|
/frameworks/rs/ |
D | rsMesh.cpp | 64 mRSC->mHal.funcs.mesh.destroy(mRSC, this); in ~Mesh() 77 mRSC->mHal.funcs.mesh.init(mRSC, this); in init() 147 Mesh *mesh = new Mesh(rsc, vertexBuffersCount, primitivesCount); in createFromStream() local 148 mesh->assignName(name); in createFromStream() 150 mesh->setVertexBuffer(vertexBuffers[vCount].get(), vCount); in createFromStream() 153 mesh->setPrimitive(indexBuffers[pCount].get(), primitives[pCount], pCount); in createFromStream() 166 mesh->init(); in createFromStream() 167 mesh->uploadAll(rsc); in createFromStream() 169 return mesh; in createFromStream() 198 mRSC->mHal.funcs.mesh.draw(mRSC, this, primIndex, start, len); in renderPrimitiveRange()
|
D | rsDriverLoader.cpp | 143 ret &= fn(RS_HAL_GRAPHICS_MESH_INIT, (void **)&rsc->mHal.funcs.mesh.init); in LoadHalTable() 144 ret &= fn(RS_HAL_GRAPHICS_MESH_DRAW, (void **)&rsc->mHal.funcs.mesh.draw); in LoadHalTable() 145 ret &= fn(RS_HAL_GRAPHICS_MESH_DESTROY, (void **)&rsc->mHal.funcs.mesh.destroy); in LoadHalTable()
|
D | rs_hal.h | 350 } mesh; member
|
/frameworks/rs/script_api/ |
D | rs_graphics.spec | 112 summary: How to intepret mesh vertex data 114 Describes the way mesh vertex data is interpreted when rendering 136 Opaque handle to a RenderScript mesh object. 448 summary: Draw a mesh 450 Draw a mesh using the current context state. 452 If primitiveIndex is specified, draw part of a mesh using the current context state. 454 …If start and len are also specified, draw specified index range of part of a mesh using the curren… 456 Otherwise the whole mesh is rendered. 677 arg: rs_mesh mesh 687 Computes an axis aligned bounding box of a mesh object [all …]
|
/frameworks/rs/script_api/include/ |
D | rs_graphics.rsh | 138 * rs_primitive: How to intepret mesh vertex data 142 * Describes the way mesh vertex data is interpreted when rendering 185 * Opaque handle to a RenderScript mesh object. 750 * rsgDrawMesh: Draw a mesh 754 * Draw a mesh using the current context state. 756 * If primitiveIndex is specified, draw part of a mesh using the current context state. 758 …* If start and len are also specified, draw specified index range of part of a mesh using the curr… 760 * Otherwise the whole mesh is rendered. 763 * ism: mesh object to render 1024 * Computes an axis aligned bounding box of a mesh object [all …]
|
/frameworks/compile/slang/tests/P_export_types_v20/ |
D | export_types.rscript | 26 rs_mesh mesh;
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 2703 nMeshGetVertexBufferCount(JNIEnv *_env, jobject _this, jlong con, jlong mesh) in nMeshGetVertexBufferCount() argument 2706 ALOGD("nMeshGetVertexBufferCount, con(%p), Mesh(%p)", (RsContext)con, (RsMesh)mesh); in nMeshGetVertexBufferCount() 2709 rsaMeshGetVertexBufferCount((RsContext)con, (RsMesh)mesh, &vtxCount); in nMeshGetVertexBufferCount() 2714 nMeshGetIndexCount(JNIEnv *_env, jobject _this, jlong con, jlong mesh) in nMeshGetIndexCount() argument 2717 ALOGD("nMeshGetIndexCount, con(%p), Mesh(%p)", (RsContext)con, (RsMesh)mesh); in nMeshGetIndexCount() 2720 rsaMeshGetIndexCount((RsContext)con, (RsMesh)mesh, &idxCount); in nMeshGetIndexCount() 2725 nMeshGetVertices(JNIEnv *_env, jobject _this, jlong con, jlong mesh, jlongArray _ids, jint numVtxID… in nMeshGetVertices() argument 2728 ALOGD("nMeshGetVertices, con(%p), Mesh(%p)", (RsContext)con, (RsMesh)mesh); in nMeshGetVertices() 2732 rsaMeshGetVertices((RsContext)con, (RsMesh)mesh, allocs, (uint32_t)numVtxIDs); in nMeshGetVertices() 2743 nMeshGetIndices(JNIEnv *_env, jobject _this, jlong con, jlong mesh, jlongArray _idxIds, jintArray _… in nMeshGetIndices() argument [all …]
|
/frameworks/rs/driver/ |
D | rsdRuntimeStubs.cpp | 1064 void rsgMeshComputeBoundingBox(::rs_mesh mesh, argument 1068 rsrMeshComputeBoundingBox(rsc, (Mesh *)mesh.p, minX, minY, minZ, maxX, maxY, maxZ);
|