Home | History | Annotate | Download | only in GLES_CM

Lines Matching defs:array_id

95 void GLEScmContext::setupArrayPointerHelper(GLESConversionArrays& cArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices,bool direct,GLenum array_id,GLESpointer* p){
99 if(needConvert(cArrs,first,count,type,indices,direct,p,array_id)){
102 setupArr(currentArr.data,array_id,currentArr.type,size,currentArr.stride,GL_FALSE, cArrs.getCurrentIndex());
105 setupArr(p->getData(),array_id,dataType,size,p->getStride(), GL_FALSE);
116 GLenum array_id = (*it).first;
118 if(!isArrEnabled(array_id)) continue;
119 if(array_id == GL_TEXTURE_COORD_ARRAY) continue; //handling textures later
120 setupArrayPointerHelper(cArrs,first,count,type,indices,direct,array_id,p);
136 GLenum array_id = GL_TEXTURE_COORD_ARRAY;
137 GLESpointer* p = m_map[array_id];
138 if(!isArrEnabled(array_id)) continue;
139 setupArrayPointerHelper(cArrs,first,count,type,indices,direct,array_id,p);
220 bool GLEScmContext::needConvert(GLESConversionArrays& cArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices,bool direct,GLESpointer* p,GLenum array_id) {
230 if((arrType == GL_BYTE && (array_id != GL_VERTEX_ARRAY)) &&
231 (arrType == GL_BYTE && (array_id != GL_TEXTURE_COORD_ARRAY)) ) return false;
241 convertDirect(cArrs,first,count,array_id,p);
243 convertIndirect(cArrs,count,type,indices,array_id,p);
247 convertDirectVBO(cArrs,first,count,array_id,p) ;
249 convertIndirectVBO(cArrs,count,type,indices,array_id,p);