/frameworks/base/libs/hwui/ |
D | Mesh.h | 90 explicit MeshUniformBuilder(sk_sp<SkMeshSpecification> meshSpec) { in MeshUniformBuilder() argument 91 fMeshSpec = sk_sp(meshSpec); in MeshUniformBuilder() 92 fUniforms = (SkData::MakeZeroInitialized(meshSpec->uniformSize())); in MeshUniformBuilder() 202 Snapshot(sk_sp<SkMeshSpecification> meshSpec, SkMesh::Mode mode, in Snapshot() argument 205 : mMeshSpec(std::move(meshSpec)) in Snapshot() 234 Mesh(sk_sp<SkMeshSpecification> meshSpec, SkMesh::Mode mode, std::vector<uint8_t> vertexData, in Mesh() argument 236 : Mesh(std::move(meshSpec), mode, std::move(vertexData), vertexCount, vertexOffset, in Mesh() 239 Mesh(sk_sp<SkMeshSpecification> meshSpec, SkMesh::Mode mode, std::vector<uint8_t> vertexData, in Mesh() argument 242 : mMeshSpec(std::move(meshSpec)) in Mesh()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Mesh.java | 81 public Mesh(@NonNull MeshSpecification meshSpec, @Mode int mode, in Mesh() argument 86 long nativeMesh = nativeMake(meshSpec.mNativeMeshSpec, mode, vertexBuffer, in Mesh() 114 public Mesh(@NonNull MeshSpecification meshSpec, @Mode int mode, in Mesh() argument 120 long nativeMesh = nativeMakeIndexed(meshSpec.mNativeMeshSpec, mode, vertexBuffer, in Mesh() 368 private static native long nativeMake(long meshSpec, int mode, Buffer vertexBuffer, in nativeMake() argument 372 private static native long nativeMakeIndexed(long meshSpec, int mode, Buffer vertexBuffer, in nativeMakeIndexed() argument
|
D | MeshSpecification.java | 389 private MeshSpecification(long meshSpec) { in MeshSpecification() argument 390 mNativeMeshSpec = meshSpec; in MeshSpecification() 392 this, meshSpec); in MeshSpecification()
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | MeshActivity.java | 57 MeshSpecification meshSpec = createMeshSpecification(); in onDraw() local 67 meshSpec, Mesh.TRIANGLES, vertexBuffer, 3, new RectF(0, 0, 1000, 1000)); in onDraw() 100 Mesh mesh2 = new Mesh(meshSpec, Mesh.TRIANGLES, iVertexBuffer, 102, indexBuffer, in onDraw()
|
D | MeshLargeActivity.java | 57 MeshSpecification meshSpec = createMeshSpecification(); in onDraw() local 112 meshSpec, Mesh.TRIANGLES, vertexBuffer, numTriangles + 2, indexBuffer, in onDraw()
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_Mesh.cpp | 31 static jlong make(JNIEnv* env, jobject, jlong meshSpec, jint mode, jobject vertexBuffer, in make() argument 34 auto skMeshSpec = sk_ref_sp(reinterpret_cast<SkMeshSpecification*>(meshSpec)); in make() 50 static jlong makeIndexed(JNIEnv* env, jobject, jlong meshSpec, jint mode, jobject vertexBuffer, in makeIndexed() argument 54 auto skMeshSpec = sk_ref_sp(reinterpret_cast<SkMeshSpecification*>(meshSpec)); in makeIndexed()
|
D | MeshSpecification.cpp | 125 static void MeshSpecification_safeUnref(SkMeshSpecification* meshSpec) { in MeshSpecification_safeUnref() argument 126 SkSafeUnref(meshSpec); in MeshSpecification_safeUnref()
|