Home
last modified time | relevance | path

Searched refs:vsize (Results 1 – 1 of 1) sorted by relevance

/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DglUtils.cpp429 unsigned int vsize = size * glSizeof(type); in glUtilsPackPointerData() local
433 vsize = vsize / 4; in glUtilsPackPointerData()
439 if (stride == 0) stride = vsize; in glUtilsPackPointerData()
441 if (stride == vsize) { in glUtilsPackPointerData()
444 for (unsigned int i = 0; i < datalen; i += vsize) { in glUtilsPackPointerData()
445 memcpy(dst, src, vsize); in glUtilsPackPointerData()
446 dst += vsize; in glUtilsPackPointerData()
458 unsigned int vsize = size * glSizeof(type); in glUtilsWritePackPointerData() local
459 if (stride == 0) stride = vsize; in glUtilsWritePackPointerData()
461 if (stride == vsize) { in glUtilsWritePackPointerData()
[all …]