/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/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/av/media/libstagefright/renderfright/gl/ |
D | GLESRenderEngine.cpp | 569 Mesh mesh = Mesh::Builder() in fillRegionWithColor() local 573 Mesh::VertexArray<vec2> position(mesh.getPositionArray<vec2>()); in fillRegionWithColor() 589 drawMesh(mesh); in fillRegionWithColor() 772 FloatRect GLESRenderEngine::setupLayerCropping(const LayerSettings& layer, Mesh& mesh) { in setupLayerCropping() argument 781 Mesh::VertexArray<vec2> cropCoords(mesh.getCropCoordArray<vec2>()); in setupLayerCropping() 792 const LayerSettings& layer, const Mesh& mesh) { in handleRoundedCorners() argument 862 drawMesh(mesh); in handleRoundedCorners() 865 drawMesh(mesh); in handleRoundedCorners() 874 drawMesh(mesh); in handleRoundedCorners() 1099 Mesh mesh = Mesh::Builder() in drawLayers() local [all …]
|
D | GLESRenderEngine.h | 148 FloatRect setupLayerCropping(const LayerSettings& layer, Mesh& mesh); 155 const Mesh& mesh); 179 void drawMesh(const Mesh& mesh);
|
/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/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | MeshLargeActivity.java | 111 Mesh mesh = new Mesh( in onDraw() local 115 mesh.setFloatUniform("test", 1.0f, 2.0f); in onDraw() 119 canvas.drawMesh(mesh, BlendMode.SRC, paint); in onDraw()
|
D | MeshActivity.java | 66 Mesh mesh = new Mesh( in onDraw() local 69 canvas.drawMesh(mesh, BlendMode.COLOR, new Paint()); in onDraw()
|
/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/base/libs/hwui/ |
D | RecordingCanvas.cpp | 527 DrawSkMesh(const SkMesh& mesh, sk_sp<SkBlender> blender, const SkPaint& paint) in DrawSkMesh() 528 : cpuMesh(mesh), blender(std::move(blender)), paint(paint) { in DrawSkMesh() 550 .mesh; in draw() 559 .mesh; in draw() 575 DrawMesh(const Mesh& mesh, sk_sp<SkBlender> blender, const SkPaint& paint) in DrawMesh() 576 : mesh(mesh.takeSnapshot()), blender(std::move(blender)), paint(paint) {} in DrawMesh() 578 Mesh::Snapshot mesh; member 582 void draw(SkCanvas* c, const SkMatrix&) const { c->drawMesh(mesh.getSkMesh(), blender, paint); } in draw() 925 void DisplayListData::drawMesh(const SkMesh& mesh, const sk_sp<SkBlender>& blender, in drawMesh() argument 927 this->push<DrawSkMesh>(0, mesh, blender, paint); in drawMesh() [all …]
|
D | Mesh.h | 218 .mesh; in makeSkMesh() 223 .mesh; in makeSkMesh()
|
D | SkiaCanvas.cpp | 593 void SkiaCanvas::drawMesh(const Mesh& mesh, sk_sp<SkBlender> blender, const Paint& paint) { in drawMesh() argument 599 mesh.refBufferData()->updateBuffers(context); in drawMesh() 600 mCanvas->drawMesh(mesh.takeSnapshot().getSkMesh(), blender, paint); in drawMesh()
|
D | RecordingCanvas.h | 254 void drawMesh(const Mesh& mesh, sk_sp<SkBlender> blender, const SkPaint& paint);
|
D | SkiaCanvas.h | 134 virtual void drawMesh(const Mesh& mesh, sk_sp<SkBlender> blender, const Paint& paint) override;
|
/frameworks/compile/slang/tests/P_export_types_v20/ |
D | export_types.rscript | 26 rs_mesh mesh;
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaRecordingCanvas.cpp | 344 void SkiaRecordingCanvas::drawMesh(const Mesh& mesh, sk_sp<SkBlender> blender, const Paint& paint) { in drawMesh() argument 345 mDisplayList->mMeshBufferData.push_back(mesh.refBufferData()); in drawMesh() 346 mRecorder.drawMesh(mesh, blender, paint); in drawMesh()
|
D | SkiaRecordingCanvas.h | 84 virtual void drawMesh(const Mesh& mesh, sk_sp<SkBlender> blender, const Paint& paint) override;
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 2702 nMeshGetVertexBufferCount(JNIEnv *_env, jobject _this, jlong con, jlong mesh) in nMeshGetVertexBufferCount() argument 2705 ALOGD("nMeshGetVertexBufferCount, con(%p), Mesh(%p)", (RsContext)con, (RsMesh)mesh); in nMeshGetVertexBufferCount() 2708 rsaMeshGetVertexBufferCount((RsContext)con, (RsMesh)mesh, &vtxCount); in nMeshGetVertexBufferCount() 2713 nMeshGetIndexCount(JNIEnv *_env, jobject _this, jlong con, jlong mesh) in nMeshGetIndexCount() argument 2716 ALOGD("nMeshGetIndexCount, con(%p), Mesh(%p)", (RsContext)con, (RsMesh)mesh); in nMeshGetIndexCount() 2719 rsaMeshGetIndexCount((RsContext)con, (RsMesh)mesh, &idxCount); in nMeshGetIndexCount() 2724 nMeshGetVertices(JNIEnv *_env, jobject _this, jlong con, jlong mesh, jlongArray _ids, jint numVtxID… in nMeshGetVertices() argument 2727 ALOGD("nMeshGetVertices, con(%p), Mesh(%p)", (RsContext)con, (RsMesh)mesh); in nMeshGetVertices() 2731 rsaMeshGetVertices((RsContext)con, (RsMesh)mesh, allocs, (uint32_t)numVtxIDs); in nMeshGetVertices() 2742 nMeshGetIndices(JNIEnv *_env, jobject _this, jlong con, jlong mesh, jlongArray _idxIds, jintArray _… in nMeshGetIndices() argument [all …]
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.h | 232 virtual void drawMesh(const Mesh& mesh, sk_sp<SkBlender>, const Paint& paint) = 0;
|
/frameworks/base/graphics/java/android/graphics/ |
D | BaseRecordingCanvas.java | 615 public final void drawMesh(@NonNull Mesh mesh, @Nullable BlendMode blendMode, in drawMesh() argument 620 nDrawMesh(mNativeCanvasWrapper, mesh.getNativeWrapperInstance(), in drawMesh()
|
D | BaseCanvas.java | 687 public void drawMesh(@NonNull Mesh mesh, @Nullable BlendMode blendMode, @NonNull Paint paint) { in drawMesh() argument 694 nDrawMesh(this.mNativeCanvasWrapper, mesh.getNativeWrapperInstance(), in drawMesh()
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_Canvas.cpp | 476 const Mesh* mesh = reinterpret_cast<Mesh*>(meshHandle); in drawMesh() local 479 get_canvas(canvasHandle)->drawMesh(*mesh, SkBlender::Mode(blendMode), *paint); in drawMesh()
|
/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);
|