Home
last modified time | relevance | path

Searched refs:arrayType (Results 1 – 6 of 6) sorted by relevance

/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/
DGLESv2Context.cpp663 GLenum arrayType, GLenum dataType, in setupArrWithDataSize() argument
668 … s_glDispatch.glGetVertexAttribiv((int)arrayType, GL_VERTEX_ATTRIB_ARRAY_ENABLED, &isEnabled); in setupArrWithDataSize()
670 s_glDispatch.glDisableVertexAttribArray(arrayType); in setupArrWithDataSize()
672 needEnablingPostDraw[arrayType] = true; in setupArrWithDataSize()
681 if (arrayType < m_emulatedClientVBOs.size()) { in setupArrWithDataSize()
682 s_glDispatch.glBindBuffer(GL_ARRAY_BUFFER, m_emulatedClientVBOs[arrayType]); in setupArrWithDataSize()
684 fprintf(stderr, "%s: invalid attribute index: %d\n", __func__, (int)arrayType); in setupArrWithDataSize()
690 s_glDispatch.glVertexAttribIPointer(arrayType, size, dataType, stride, 0); in setupArrWithDataSize()
692 s_glDispatch.glVertexAttribPointer(arrayType, size, dataType, normalized, stride, 0); in setupArrWithDataSize()
DGLESv2Context.h136 GLenum arrayType, GLenum dataType,
/hardware/google/gfxstream/host/gl/glestranslator/GLES_CM/
DCoreProfileEngine.cpp403 GLenum arrayType, in setupArrayForDraw() argument
413 attribNum = arrayTypeToCoreAttrib(arrayType); in setupArrayForDraw()
447 gl.glBindBuffer(GL_ARRAY_BUFFER, getVboFor(arrayType)); in setupArrayForDraw()
451 …bool convert = mCtx->doConvert(arrs, first, count, indicesType, indices, !isIndexed, p, arrayType); in setupArrayForDraw()
471 if (arrayType == GL_COLOR_ARRAY && in setupArrayForDraw()
484 if (arrayType == GL_COLOR_ARRAY || in setupArrayForDraw()
485 arrayType == GL_NORMAL_ARRAY || in setupArrayForDraw()
486 arrayType == GL_TEXTURE_COORD_ARRAY) { in setupArrayForDraw()
489 gl.glBindBuffer(GL_ARRAY_BUFFER, getVboFor(arrayType)); in setupArrayForDraw()
493 switch (arrayType) { in setupArrayForDraw()
[all …]
DCoreProfileEngine.h120 …void setupArrayForDraw(GLenum arrayType, GLESpointer* p, GLint first, GLsizei count, bool isIndexe…
186 GLuint getVboFor(GLenum arrayType);
DGLEScmContext.h201 …void setupArr(const GLvoid* arr,GLenum arrayType,GLenum dataType,GLint size,GLsizei stride,GLboole…
DGLEScmContext.cpp422 void GLEScmContext::setupArr(const GLvoid* arr,GLenum arrayType,GLenum dataType,GLint size,GLsizei … in setupArr() argument
424 switch(arrayType) { in setupArr()