Home | History | Annotate | Download | only in driver

Lines Matching refs:mGLPrimitives

37     mGLPrimitives = NULL;
47 if (mGLPrimitives) {
48 delete[] mGLPrimitives;
170 RSD_CALL_GL(glDrawElements, mGLPrimitives[primIndex], len, GL_UNSIGNED_SHORT,
174 RSD_CALL_GL(glDrawElements, mGLPrimitives[primIndex], len, GL_UNSIGNED_SHORT,
178 RSD_CALL_GL(glDrawArrays, mGLPrimitives[primIndex], start, len);
185 mGLPrimitives = new uint32_t[mRSMesh->mHal.state.primitivesCount];
188 case RS_PRIMITIVE_POINT: mGLPrimitives[i] = GL_POINTS; break;
189 case RS_PRIMITIVE_LINE: mGLPrimitives[i] = GL_LINES; break;
190 case RS_PRIMITIVE_LINE_STRIP: mGLPrimitives[i] = GL_LINE_STRIP; break;
191 case RS_PRIMITIVE_TRIANGLE: mGLPrimitives[i] = GL_TRIANGLES; break;
192 case RS_PRIMITIVE_TRIANGLE_STRIP: mGLPrimitives[i] = GL_TRIANGLE_STRIP; break;
193 case RS_PRIMITIVE_TRIANGLE_FAN: mGLPrimitives[i] = GL_TRIANGLE_FAN; break;