Lines Matching refs:mGLPrimitives
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()
191 case RS_PRIMITIVE_TRIANGLE: mGLPrimitives[i] = GL_TRIANGLES; break; in updateGLPrimitives()
192 case RS_PRIMITIVE_TRIANGLE_STRIP: mGLPrimitives[i] = GL_TRIANGLE_STRIP; break; in updateGLPrimitives()
193 case RS_PRIMITIVE_TRIANGLE_FAN: mGLPrimitives[i] = GL_TRIANGLE_FAN; break; in updateGLPrimitives()