Home | History | Annotate | Download | only in renderstate

Lines Matching refs:vertices

68     ALOGD("MeshState vertices: vertex data %p, stride %d", mCurrentPositionPointer,
117 // Vertices
120 void MeshState::bindPositionVertexPointer(const GLvoid* vertices, GLsizei stride) {
121 // update pos coords if !current vbo, since vertices may point into mutable memory (e.g. stack)
122 if (mCurrentBuffer == 0 || vertices != mCurrentPositionPointer ||
124 glVertexAttribPointer(Program::kBindingPosition, 2, GL_FLOAT, GL_FALSE, stride, vertices);
125 mCurrentPositionPointer = vertices;
130 void MeshState::bindTexCoordsVertexPointer(const GLvoid* vertices, GLsizei stride) {
131 // update tex coords if !current vbo, since vertices may point into mutable memory (e.g. stack)
132 if (mCurrentBuffer == 0 || vertices != mCurrentTexCoordsPointer ||
134 glVertexAttribPointer(Program::kBindingTexCoords, 2, GL_FLOAT, GL_FALSE, stride, vertices);
135 mCurrentTexCoordsPointer = vertices;