Home
last modified time | relevance | path

Searched refs:fStride (Results 1 – 5 of 5) 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
173 fVertices.reset(static_cast<int>(kVerticesPerTri * kNumTri * fStride)); in setup()
175 unsigned char* ptr = &fVertices[static_cast<int>(i * kVerticesPerTri * fStride)]; in setup()
178 p = reinterpret_cast<SkPoint*>(ptr + fStride); in setup()
180 p = reinterpret_cast<SkPoint*>(ptr + fStride * 2); in setup()
184 viewMatrices[i].mapPointsWithStride(position, fStride, kVerticesPerTri); in setup()
188 GrGLfloat* f = reinterpret_cast<GrGLfloat*>(ptr + 2 * sizeof(SkPoint) + fStride * j); in setup()
215 GR_GL_CALL(gl, VertexAttribPointer(0, 4, GR_GL_FLOAT, GR_GL_FALSE, (GrGLsizei)fStride, in glDraw()
223 (GrGLsizei)fStride, (GrGLvoid*)(runningStride))); in glDraw()
/external/skia/src/gpu/
DGrTessellator.h27 VertexAllocator(size_t stride) : fStride(stride) {} in VertexAllocator()
31 size_t stride() const { return fStride; } in stride()
33 size_t fStride;
/external/skia/src/gpu/gl/
DGrGLVertexArray.cpp63 array->fStride != stride || in set()
86 array->fStride = stride; in set()
DGrGLVertexArray.h80 GrGLsizei fStride; member
DGrGLGpu.cpp1860 int fStride; in setupGeometry() member
1867 bindings[0].fStride = vertexStride; in setupGeometry()
1873 bindings[1].fStride = instanceStride; in setupGeometry()
1885 attribState->set(this, i, binding.fBuffer, attrib.fType, binding.fStride, in setupGeometry()