Lines Matching defs:idxSize
81 const void *idxData, UINT idxSize, UINT startIdx)
103 if (idxSize != 0) {
112 if (idxSize == 2) pIdxBufS = idxData;
115 ERR("non-NULL idxData with 0 idxSize, this should never happen\n");
243 if (idxSize == 2)
437 GLenum glPrimitiveType, const void *idxData, UINT idxSize, UINT startIdx)
448 if (idxSize != 0) {
457 if (idxSize == 2) pIdxBufS = idxData;
460 ERR("non-NULL idxData with 0 idxSize, this should never happen\n");
471 if (idxSize == 2)
495 UINT numberOfVertices, GLenum glPrimitiveType, const void *idxData, UINT idxSize,
504 if (idxSize == 0) {
559 glDrawElements(glPrimitiveType, numberOfVertices, idxSize == 2 ? GL_UNSIGNED_SHORT : GL_UNSIGNED_INT,
560 (const char *)idxData+(idxSize * startIdx));
586 void drawPrimitive(IWineD3DDevice *iface, UINT index_count, UINT StartIdx, UINT idxSize, const void *idxData)
694 drawStridedSlowVs(iface, stream_info, index_count, glPrimType, idxData, idxSize, StartIdx);
697 glPrimType, idxData, idxSize, StartIdx);
702 glPrimType, idxData, idxSize, StartIdx);
704 drawStridedFast(iface, glPrimType, index_count, idxSize, idxData, StartIdx);