Searched refs:mGLPrimitives (Results 1 – 2 of 2) sorted by relevance
/frameworks/rs/driver/ |
D | rsdMeshObj.cpp | 37 mGLPrimitives = nullptr; in RsdMeshObj() 47 if (mGLPrimitives) { in ~RsdMeshObj() 48 delete[] mGLPrimitives; in ~RsdMeshObj() 170 RSD_CALL_GL(glDrawElements, mGLPrimitives[primIndex], len, GL_UNSIGNED_SHORT, in renderPrimitiveRange() 174 RSD_CALL_GL(glDrawElements, mGLPrimitives[primIndex], len, GL_UNSIGNED_SHORT, in renderPrimitiveRange() 178 RSD_CALL_GL(glDrawArrays, mGLPrimitives[primIndex], start, len); in renderPrimitiveRange() 185 mGLPrimitives = new uint32_t[mRSMesh->mHal.state.primitivesCount]; in updateGLPrimitives() 188 case RS_PRIMITIVE_POINT: mGLPrimitives[i] = GL_POINTS; break; in updateGLPrimitives() 189 case RS_PRIMITIVE_LINE: mGLPrimitives[i] = GL_LINES; break; in updateGLPrimitives() 190 case RS_PRIMITIVE_LINE_STRIP: mGLPrimitives[i] = GL_LINE_STRIP; break; in updateGLPrimitives() [all …]
|
D | rsdMeshObj.h | 48 uint32_t *mGLPrimitives; variable
|