Home
last modified time | relevance | path

Searched refs:vertexStride (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DMeshSpecification.java291 @IntRange(from = 1, to = 1024) int vertexStride, in make()
296 vertexStride, varyings, vertexShader, in make()
329 @IntRange(from = 1, to = 1024) int vertexStride, in make()
336 vertexStride, varyings, vertexShader, in make()
374 @IntRange(from = 1, to = 1024) int vertexStride, in make()
381 nativeMakeWithAlpha(attributes, vertexStride, varyings, vertexShader, in make()
397 private static native long nativeMake(Attribute[] attributes, int vertexStride, in nativeMake() argument
400 private static native long nativeMakeWithCS(Attribute[] attributes, int vertexStride, in nativeMakeWithCS() argument
403 private static native long nativeMakeWithAlpha(Attribute[] attributes, int vertexStride, in nativeMakeWithAlpha() argument
/frameworks/base/libs/hwui/
DMesh.cpp46 size_t vertexStride = mMeshSpec->stride(); in validate() local
50 size_t vertexSize = sm.mul(vertexStride, vertexCount); in validate()
57 if (vertexOffset % vertexStride != 0) { in validate()
59 vertexOffset, vertexStride); in validate()
/frameworks/base/libs/hwui/jni/
DMeshSpecification.cpp72 static jlong Make(JNIEnv* env, jobject thiz, jobjectArray attributeArray, jint vertexStride, in Make() argument
78 auto meshSpecResult = SkMeshSpecification::Make(attributes, vertexStride, varyings, in Make()
88 static jlong MakeWithCS(JNIEnv* env, jobject thiz, jobjectArray attributeArray, jint vertexStride, in MakeWithCS() argument
96 attributes, vertexStride, varyings, SkString(skVertexShader.c_str()), in MakeWithCS()
107 jint vertexStride, jobjectArray varyingArray, jstring vertexShader, in MakeWithAlpha() argument
114 attributes, vertexStride, varyings, SkString(skVertexShader.c_str()), in MakeWithAlpha()
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
DSwarm.java79 private final int vertexStride = FLOATS_PER_VERTEX * BYTES_PER_FLOAT; // 4 bytes per vertex field in Swarm
166 …GLES20.glVertexAttribPointer(mPositionHandle, 3, GLES20.GL_FLOAT, false, vertexStride, vertexBuffe… in draw()