Lines Matching refs:vsize
405 unsigned int vsize = size * glSizeof(type); in glUtilsPackPointerData() local
409 vsize = vsize / 4; in glUtilsPackPointerData()
415 if (stride == 0) stride = vsize; in glUtilsPackPointerData()
417 if (stride == vsize) { in glUtilsPackPointerData()
420 for (unsigned int i = 0; i < datalen; i += vsize) { in glUtilsPackPointerData()
421 memcpy(dst, src, vsize); in glUtilsPackPointerData()
422 dst += vsize; in glUtilsPackPointerData()
434 unsigned int vsize = size * glSizeof(type); in glUtilsWritePackPointerData() local
435 if (stride == 0) stride = vsize; in glUtilsWritePackPointerData()
437 if (stride == vsize) { in glUtilsWritePackPointerData()
440 for (unsigned int i = 0; i < datalen; i += vsize) { in glUtilsWritePackPointerData()
441 stream->writeFully(src, (size_t)vsize); in glUtilsWritePackPointerData()