Home | History | Annotate | Download | only in GLES_CM

Lines Matching refs:array_id

92 void GLEScmContext::setupArrayPointerHelper(GLESConversionArrays& cArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices,bool direct,GLenum array_id,GLESpointer* p){
96 if(needConvert(cArrs,first,count,type,indices,direct,p,array_id)){
99 setupArr(currentArr.data,array_id,currentArr.type,size,currentArr.stride,GL_FALSE, cArrs.getCurrentIndex());
102 setupArr(p->getData(),array_id,dataType,size,p->getStride(), GL_FALSE);
113 GLenum array_id = (*it).first;
115 if(!isArrEnabled(array_id)) continue;
116 if(array_id == GL_TEXTURE_COORD_ARRAY) continue; //handling textures later
117 setupArrayPointerHelper(cArrs,first,count,type,indices,direct,array_id,p);
133 GLenum array_id = GL_TEXTURE_COORD_ARRAY;
134 GLESpointer* p = m_map[array_id];
135 if(!isArrEnabled(array_id)) continue;
136 setupArrayPointerHelper(cArrs,first,count,type,indices,direct,array_id,p);
217 bool GLEScmContext::needConvert(GLESConversionArrays& cArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices,bool direct,GLESpointer* p,GLenum array_id) {
227 if((arrType == GL_BYTE && (array_id != GL_VERTEX_ARRAY)) &&
228 (arrType == GL_BYTE && (array_id != GL_TEXTURE_COORD_ARRAY)) ) return false;
238 convertDirect(cArrs,first,count,array_id,p);
240 convertIndirect(cArrs,count,type,indices,array_id,p);
244 convertDirectVBO(cArrs,first,count,array_id,p) ;
246 convertIndirectVBO(cArrs,count,type,indices,array_id,p);