Searched refs:fStride (Results 1 – 5 of 5) sorted by relevance
/external/skia/bench/ |
D | GLVertexAttributesBench.cpp | 33 , 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/ |
D | GrTessellator.h | 27 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/ |
D | GrGLVertexArray.cpp | 63 array->fStride != stride || in set() 86 array->fStride = stride; in set()
|
D | GrGLVertexArray.h | 80 GrGLsizei fStride; member
|
D | GrGLGpu.cpp | 1860 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()
|