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