Home
last modified time | relevance | path

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

/external/swiftshader/src/OpenGL/libGLESv2/
DlibGLESv3.cpp1866 const es2::VertexAttribute &attribState = context->getVertexAttribState(index); in GetVertexAttribIiv() local
1871 *params = (attribState.mArrayEnabled ? GL_TRUE : GL_FALSE); in GetVertexAttribIiv()
1874 *params = attribState.mSize; in GetVertexAttribIiv()
1877 *params = attribState.mStride; in GetVertexAttribIiv()
1880 *params = attribState.mType; in GetVertexAttribIiv()
1883 *params = (attribState.mNormalized ? GL_TRUE : GL_FALSE); in GetVertexAttribIiv()
1886 *params = attribState.mBoundBuffer.name(); in GetVertexAttribIiv()
1898 *params = (attribState.mPureInteger ? GL_TRUE : GL_FALSE); in GetVertexAttribIiv()
1901 *params = attribState.mDivisor; in GetVertexAttribIiv()
1922 const es2::VertexAttribute &attribState = context->getVertexAttribState(index); in GetVertexAttribIuiv() local
[all …]
DlibGLESv2.cpp3664 const es2::VertexAttribute &attribState = context->getVertexAttribState(index); in GetVertexAttribfv() local
3669 *params = (GLfloat)(attribState.mArrayEnabled ? GL_TRUE : GL_FALSE); in GetVertexAttribfv()
3672 *params = (GLfloat)attribState.mSize; in GetVertexAttribfv()
3675 *params = (GLfloat)attribState.mStride; in GetVertexAttribfv()
3678 *params = (GLfloat)attribState.mType; in GetVertexAttribfv()
3681 *params = (GLfloat)(attribState.mNormalized ? GL_TRUE : GL_FALSE); in GetVertexAttribfv()
3684 *params = (GLfloat)attribState.mBoundBuffer.name(); in GetVertexAttribfv()
3696 *params = (GLfloat)(attribState.mPureInteger ? GL_TRUE : GL_FALSE); in GetVertexAttribfv()
3717 const es2::VertexAttribute &attribState = context->getVertexAttribState(index); in GetVertexAttribiv() local
3722 *params = (attribState.mArrayEnabled ? GL_TRUE : GL_FALSE); in GetVertexAttribiv()
[all …]
/external/skia/src/gpu/gl/
DGrGLGpu.cpp2102 GrGLAttribArrayState* attribState; in setupGeometry() local
2106 attribState = fHWVertexArrayState.bindInternalVertexArray(this, indexBuffer); in setupGeometry()
2108 attribState = fHWVertexArrayState.bindInternalVertexArray(this); in setupGeometry()
2112 attribState->enableVertexArrays(this, numAttribs, enablePrimitiveRestart); in setupGeometry()
2122 attribState->set(this, attrib.fLocation, vertexBuffer, attrib.fCPUType, attrib.fGPUType, in setupGeometry()
2135 attribState->set(this, attrib.fLocation, instanceBuffer, attrib.fCPUType, in setupGeometry()
4239 GrGLAttribArrayState* attribState; in bindInternalVertexArray() local
4249 attribState = fCoreProfileVertexArray->bindWithIndexBuffer(gpu, ibuf); in bindInternalVertexArray()
4251 attribState = fCoreProfileVertexArray->bind(gpu); in bindInternalVertexArray()
4264 attribState = &fDefaultVertexArrayAttribState; in bindInternalVertexArray()
[all …]
/external/skqp/src/gpu/gl/
DGrGLGpu.cpp2073 GrGLAttribArrayState* attribState; in setupGeometry() local
2076 attribState = fHWVertexArrayState.bindInternalVertexArray(this, indexBuffer); in setupGeometry()
2078 attribState = fHWVertexArrayState.bindInternalVertexArray(this); in setupGeometry()
2082 attribState->enableVertexArrays(this, numAttribs, enablePrimitiveRestart); in setupGeometry()
2091 attribState->set(this, attrib.fLocation, vertexBuffer, attrib.fCPUType, attrib.fGPUType, in setupGeometry()
2103 attribState->set(this, attrib.fLocation, instanceBuffer, attrib.fCPUType, in setupGeometry()
4199 GrGLAttribArrayState* attribState; in bindInternalVertexArray() local
4209 attribState = fCoreProfileVertexArray->bindWithIndexBuffer(gpu, ibuf); in bindInternalVertexArray()
4211 attribState = fCoreProfileVertexArray->bind(gpu); in bindInternalVertexArray()
4224 attribState = &fDefaultVertexArrayAttribState; in bindInternalVertexArray()
[all …]