Searched refs:arrayType (Results 1 – 6 of 6) sorted by relevance
/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/ |
D | GLESv2Context.cpp | 663 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()
|
D | GLESv2Context.h | 136 GLenum arrayType, GLenum dataType,
|
/hardware/google/gfxstream/host/gl/glestranslator/GLES_CM/ |
D | CoreProfileEngine.cpp | 403 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 …]
|
D | CoreProfileEngine.h | 120 …void setupArrayForDraw(GLenum arrayType, GLESpointer* p, GLint first, GLsizei count, bool isIndexe… 186 GLuint getVboFor(GLenum arrayType);
|
D | GLEScmContext.h | 201 …void setupArr(const GLvoid* arr,GLenum arrayType,GLenum dataType,GLint size,GLsizei stride,GLboole…
|
D | GLEScmContext.cpp | 422 void GLEScmContext::setupArr(const GLvoid* arr,GLenum arrayType,GLenum dataType,GLint size,GLsizei … in setupArr() argument 424 switch(arrayType) { in setupArr()
|