Home
last modified time | relevance | path

Searched refs:fStride (Results 1 – 3 of 3) sorted by relevance

/external/skia/bench/
DGLVertexAttributesBench.cpp33 , fStride(2 * sizeof(SkPoint) + fAttribs * sizeof(GrGLfloat) * 4) { in GLVertexAttributesBench()
59 size_t fStride; member in GLVertexAttributesBench
175 fVertices.reset(static_cast<int>(kVerticesPerTri * kNumTri * fStride)); in setup()
177 unsigned char* ptr = &fVertices[static_cast<int>(i * kVerticesPerTri * fStride)]; in setup()
180 p = reinterpret_cast<SkPoint*>(ptr + fStride); in setup()
182 p = reinterpret_cast<SkPoint*>(ptr + fStride * 2); in setup()
186 viewMatrices[i].mapPointsWithStride(position, fStride, kVerticesPerTri); in setup()
190 GrGLfloat* f = reinterpret_cast<GrGLfloat*>(ptr + 2 * sizeof(SkPoint) + fStride * j); in setup()
217 GR_GL_CALL(gl, VertexAttribPointer(0, 4, GR_GL_FLOAT, GR_GL_FALSE, (GrGLsizei)fStride, in glDraw()
225 (GrGLsizei)fStride, (GrGLvoid*)(runningStride))); in glDraw()
/external/skia/src/gpu/gl/
DGrGLVertexArray.cpp55 array->fStride != stride || in set()
79 array->fStride = stride; in set()
DGrGLVertexArray.h92 GrGLsizei fStride; member