/sdk/emulator/opengl/host/libs/Translator/GLES_V2/ |
GLESv2Context.cpp | 95 GLenum array_id = (*it).first; local 97 if(!isArrEnabled(array_id)) continue; 101 if(needConvert(cArrs,first,count,type,indices,direct,p,array_id)){ 104 setupArr(currentArr.data,array_id,currentArr.type,size,currentArr.stride, p->getNormalized()); 107 setupArr(p->getData(),array_id,p->getType(), 119 bool GLESv2Context::needConvert(GLESConversionArrays& cArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices,bool direct,GLESpointer* p,GLenum array_id) { 131 convertDirect(cArrs,first,count,array_id,p); 133 convertIndirect(cArrs,count,type,indices,array_id,p); 137 convertDirectVBO(cArrs,first,count,array_id,p) ; 139 convertIndirectVBO(cArrs,count,type,indices,array_id,p) [all...] |
GLESv2Context.h | 45 bool needConvert(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices,bool direct,GLESpointer* p,GLenum array_id);
|
/sdk/emulator/opengl/host/libs/Translator/GLES_CM/ |
GLEScmContext.cpp | 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; local 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; local 134 GLESpointer* p = m_map[array_id]; [all...] |
GLEScmContext.h | 55 bool needConvert(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices,bool direct,GLESpointer* p,GLenum array_id); 57 void setupArrayPointerHelper(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices,bool direct,GLenum array_id,GLESpointer* p);
|
/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/ |
GLEScontext.h | 182 virtual bool needConvert(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices,bool direct,GLESpointer* p,GLenum array_id) = 0; 183 void convertDirect(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum array_id,GLESpointer* p); 184 void convertDirectVBO(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum array_id,GLESpointer* p); 185 void convertIndirect(GLESConversionArrays& fArrs,GLsizei count,GLenum type,const GLvoid* indices,GLenum array_id,GLESpointer* p); 186 void convertIndirectVBO(GLESConversionArrays& fArrs,GLsizei count,GLenum indices_type,const GLvoid* indices,GLenum array_id,GLESpointer* p);
|
/sdk/emulator/opengl/host/libs/Translator/GLcommon/ |
GLEScontext.cpp | 310 void GLEScontext::convertDirect(GLESConversionArrays& cArrs,GLint first,GLsizei count,GLenum array_id,GLESpointer* p) { 327 void GLEScontext::convertDirectVBO(GLESConversionArrays& cArrs,GLint first,GLsizei count,GLenum array_id,GLESpointer* p) { 369 void GLEScontext::convertIndirect(GLESConversionArrays& cArrs,GLsizei count,GLenum indices_type,const GLvoid* indices,GLenum array_id,GLESpointer* p) { 387 void GLEScontext::convertIndirectVBO(GLESConversionArrays& cArrs,GLsizei count,GLenum indices_type,const GLvoid* indices,GLenum array_id,GLESpointer* p) {
|